how to fix email not sending

John Birkner October 26, 2021

An error has occurred with sending the test email:
com.atlassian.mail.MailException: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8 https://support.google.com/mail/?p=BadCredentials l5sm6684671pjh.31 - gsmtp

at com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(SMTPMailServerImpl.java:225)
at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:162)
at com.atlassian.jira.plugins.mail.webwork.SendTestMail.doExecute(SendTestMail.java:107)
at webwork.action.ActionSupport.execute(ActionSupport.java:165)
at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:63)

1 answer

1 accepted

0 votes
Answer accepted
Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 26, 2021

Hi @John Birkner 

Since it's Gmail, could you please try once with Port 465 and SMPTS Protocol, If this doesn't work using port 587 is recommended.

Turn on the Less Secure option in Google Account Security Options

Thanks,
Pramodh

John Birkner October 26, 2021

Thank you so much Pramodh!

How do you change the from SMTP to SMPTS Protocol?

How do you change the port to 587?

thanks,

John

Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 26, 2021

Hi @John Birkner 

If you are using Google Authenticator. Enable Less Secure Apps in Google Security Settings Options.

Suggest an answer

Log in or Sign up to answer