Unable to Send Email Due to 'javax.mail.AuthenticationFailedException' Error Message
Unable to send test email successfully. The error appears:
An error has occurred with sending the test email: com.atlassian.mail.MailException: javax.mail.AuthenticationFailedException at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:191) at com.atlassian.confluence.admin.actions.mail.SendTestEmailAction.execute(SendTestEmailAction.java:52)
Caused by: com.atlassian.crowd.event.EventJobExecutionException: Could not send email to email@example.com: 535 5.7.3 Authentication unsuccessful Caused by: com.atlassian.crowd.manager.mail.MailSendException: Could not send email to firstname.lastname@example.org: 535 5.7.3 Authentication unsuccessful Caused by: javax.mail.AuthenticationFailedException: 535 5.7.3 Authentication unsuccessful
- The error from the logs indicates that Confluence can't connect to your mail server with the username and password you specified.
- The Exchange/mail server is configured incorrectly.
If your Diagnostic/Test confirmed that you are unable to send a test email, consult your email system administrator for the correct setting.
For Exchange Server 2007/2010/2013/2016
Some administrators have been successful in resolving this by creating a dedicated Exchange receive connector if using an Exchange Server.
Still having problems?
If the problem still persists, ensure you have configured the mail jars as described in Configuring a Server for Outgoing Mail.