org.springframework.mail.MailAuthenticationException .... how to overcome it??

surbhi singh August 17, 2016

This question is in reference to Atlassian Documentation: Sending a Test Email Fails due to javax.mail.AuthenticationFailedException

Ask your question here...

1 answer

1 accepted

1 vote
Answer accepted
Jonas Andersson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 17, 2016

First off, this seems to be a snippet of the error in the log. Including it all could help me get closer.

Verify:

That the email server configured exists on the hostname and port.

That you can ping it from JIRA

That you see the port open while doing a nmap from the JIRA server

Are you using a local sendmail or an external mailserver?

 

Talk to the mailserver admin:

Does the mailserver support the protocol you chosen? (IMAP/IMAPS)

 

The fact that you see authentication error makes me think you gave it credentials to send email, but in most intranets this is not needed.

Look at things that might have changed since it last worked.

Suggest an answer

Log in or Sign up to answer