I cannot get JIRA mail working with Gmail or Yahoo mail Edited

I selected Google App Mail/Gmail, and provided my Gmail user name and password, but it would not work. I pressed "Test Connection", it always returns with the following error message:

Unfortunately no connection was possible. Review the errors below and rectify:

I also tried Yahoo Mail Plus, but not working either. Both Yahoo mail and Gmail works fine on my computer and I used them both regularly.

Anyone can help? Thanks in advance!


Here is an error log when I tried "send Test email":


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 j128sm16269379qkf.52 - 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)
 at webwork.interceptor.DefaultInterceptorChain.proceed



1 answer

0 votes

With gmail, I'd recommend using your full email address as your username.  Such as user@example.com If you're using a google apps domain, this is required, but I still find it's best practice to do so even with those gmail.com domains.

Also did you walk through the Google Troubleshooting help as mentioned in that error link? https://support.google.com/mail/?p=BadCredentials

That link has some good next steps to follow as well.  If your Google account is currently setup to use 2 step verification, then you will likely want to create an App Password in order to let an application like Jira or Confluence to use this account.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,888 views 12 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot