Authentication Failed error when sending email notifications via Google

KB Home   |   Authentication Failed error when sending email notifications via Google

Main.AuthenticationFailedErrorWhenUsingGoogle History

Hide minor edits - Show changes to output

March 06, 2017, at 09:04 PM by BrianL - reformatting
Changed lines 5-11 from:
'''Error sending email: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 534-5.7.14

Please log in via your web browser and 534-5.7.14 then try again
[https://support.google.com/mail/answer/78754]'''

The recommended, and most secure way, to correct this problem would be to enable [https://support.google.com/accounts/answer/185839 2-Step Verification] on your Google Account and create an [https://support.google.com/accounts/answer/185833 App Password].
to:
[@
Error sending email: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 534-5.7.14
Please log in via your web browser and 534-5.7.14 then try again 
https://support.google.com/mail/answer/78754
@]

The recommended, and most secure way, to correct this problem would be to enable [[https://support.google.com/accounts/answer/185839|2-Step Verification]] on your Google Account and create an [[https://support.google.com/accounts/answer/185833|App Password]].
Changed line 14 from:
# Go to your Google “My Account” settings: [https://myaccount.google.com]
to:
# Go to your Google [[https://myaccount.google.com|My Account]] settings
Changed line 27 from:
# Go to your Google “My Account” settings: [https://myaccount.google.com]
to:
# Go to your Google [[https://myaccount.google.com|My Account]] settings
Changed line 31 from:
You can find more information about the “Allow less secure apps” setting here: [https://support.google.com/accounts/answer/6010255]
to:
You can find more information about the “Allow less secure apps” setting here: https://support.google.com/accounts/answer/6010255
March 06, 2017, at 08:53 PM by BrianL - new article created
March 06, 2017, at 08:52 PM by BrianL - new article created
Added lines 1-37:
(:title Authentication Failed error when sending email notifications via Google:)

When using a Google based email account to send email notifications in PaperCut NG & MF, you may run into the following error message:

'''Error sending email: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 534-5.7.14

Please log in via your web browser and 534-5.7.14 then try again
[https://support.google.com/mail/answer/78754]'''

The recommended, and most secure way, to correct this problem would be to enable [https://support.google.com/accounts/answer/185839 2-Step Verification] on your Google Account and create an [https://support.google.com/accounts/answer/185833 App Password].

To enable 2-Step Verification on the Google Account:
# Go to your Google “My Account” settings: [https://myaccount.google.com]
# Click “Sign-in & Security”
# Under “Signing in to Google”, click “2-Step Verification” and follow the steps outlined by Google.

An App password is a 16-digit passcode that gives an app or device permission to access your Google Account. More information about App Passwords can be found here: https://support.google.com/accounts/answer/185833


!!Security Concern
'''If you cannot enable 2-Step Verification and create an App Password, then you could create a siloed email address with a super long, super secure password, that is only used for email notifications in with PaperCut NG & MF. '''

!!!Turn on Allow less secure apps
The quick and easy (and not so secure) fix would be to turn on “Allow less secure apps” in your Google Account settings.

# Go to your Google “My Account” settings: [https://myaccount.google.com]
# Click “Sign-in & Security”
# Toggle “Allow less secure apps:” OFF -> ON

You can find more information about the “Allow less secure apps” setting here: [https://support.google.com/accounts/answer/6010255]



----
''Categories:'' [[Category. Administration|+]], [[Category. Troubleshooting|+]]
----
[-Keywords: email, Google-]

Comments

Share your findings and experience with other PaperCut users. Feel free to add comments and suggestions about this Knowledge Base article. Please don't use this for support requests.

Article last modified on March 06, 2017, at 09:04 PM
Printable View   |   Article History   |   Edit Article