Sending a Test Email Fails due to javax.mail.AuthenticationFailedException
JIRA applications fail to
Send a Test Email via the SMTP server configuration located in
Administration >> Global Settings >> Mail Servers. The following exception is encountered:
com.atlassian.mail.MailException: javax.mail.AuthenticationFailedException at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:191)
The authentication credentials supplied for the SMTP server are not correct or have expired.
- Correct the SMTP Mail Server username or password. Use
Send a Test Emailto verify that the credential's to the mail server are correct.
- As a last resort, recreating the Mail Handler may assist here - it has been seen to fix some situations surrounding the AuthenticationFailedException when using the appropriate credentials
- Remove the related mail handler
- Restart JIRA
- Create mail handler again