Forums

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

how to fix email not sending

John Birkner
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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 Champion
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
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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 Champion
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