AuthenticationFailedException when connecting to Gmail as SMTP server

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform Notice: Cloud, Server, and Data Center - This article applies equally to all platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Problem

When trying to connect to Gmail server as a SMTP provider, the following error will be thrown in the UI:

com.atlassian.mail.MailException: javax.mail.AuthenticationFailedException: 534-5.7.14 <https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbtv
534-5.7.14 PZxvxLlobQ_V5PG1i5icYEi2YuYU7Vl__dz2yhz5rAnD2GhQdv9YGYsq5ocia9mZvqz0Dl
534-5.7.14 1kmW1cfineB1BHqGjM_XwGRUNMwRLSXeOXVF4-Xvq0MSVCREmcHWeRE2jal7VpiLfygD8g
534-5.7.14 Rq0qYeihSq-lkVh_LijQtP0rAL-zvywM2y7nQQ5Ewd9xobeeyxUxyBPckonrg1LIoJDZGq
534-5.7.14 QTr0i7Qgd3V3_pctrfBYPYWNVp-MA> Please log in via your web browser and
534-5.7.14 then try again.
534-5.7.14 Learn more at
534 5.7.14 https://support.google.com/mail/answer/78754 g27sm49103462pfd.25 - gsmtp


Cause

Recently, Google services has been received several authentication features which are not supported in JIRA.

Resolution

In case you are still facing the same error, please, contact Google support.

Last modified on Jul 5, 2022

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.