The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to send email from Confluence via SnedGrid

Samir Farhat
November 7, 2018

Hi,

We recently deployed a Confluence server.

We use SendGrid for email sending.

I have followed the official sendgird documentation and i succeeded sending an email through Telnet.

But in confuence, i always have the Bad username/password when testing sending an email.

The following is my configuration

image.png

The following message is received :

An error has occurred with sending the test email:
com.atlassian.mail.MailException: javax.mail.AuthenticationFailedException: 535 Authentication failed: Bad username / password

at com.atlassian.confluence.jmx.JmxSMTPMailServer.doSendWithMessageIdSupport(JmxSMTPMailServer.java:120)
at

Any help please ?

 

 

 

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Answer accepted
Samir Farhat
November 8, 2018

This is really ridiculous, but the documentation (sendgrid) does not tell you that encoding the user name and secret is only for TELNET

In a normal configuration, use

  • user name : apikey
  • password: The plain API Key

image.png

That will work!

radhika.punchepady
June 4, 2021

This saved me a lot of time!

TAGS
AUG Leaders

Atlassian Community Events