Application-specific password required Google Error – Linux Guru

Spread the love

Have you ever received this error while using gmail smtp setting to send from your app?

If you’ve encountered the infamous Gmail SMTP error 534 5.7.9 Application-specific password required while trying to set up email notifications for your app, don’t worry—it’s a common hurdle. Let us look into the problem and find a solution.

t=2019-01-31T10:58:08+0000 lvl=eror msg="Failed to send alert notification email" error="534 5.7.9 Application-specific password required. Learn more atn5.7.9 r12sm5483812wrq.3 - gsmtp"
Reason : The error message is a security feature from Gmail. When you’re setting up email notifications and using your Gmail account, you might have used your regular Gmail password for authentication. However, Gmail mandates the use of application-specific passwords for enhanced security instead of your actual email password.

Now If you faced this error the you have to create application specific password for your app and use that password to authenticate your app using SMTP.
Solution :
 1. Go to the google account click here :
 2. On the left penal Click on the security.

3. Click on app password below 2-Step will ask you password of your gmail account for verification.

4. Select app. i am using mail authentication so i will select mail.

5. Click on select device. where you want to authenticate with device. i am using monitoring tool setup and require smtp setup so i will select other option and provide that name of applicaiton.

6. Click on generate.

7. Click on done button.

Now, you can use this application-specific password to authenticate your Gmail account with your app.
Success Logs :
t=2019-01-31T11:38:03+0000 lvl=info msg="Sending alert notification to" addresses="[]

0 thoughts on “Application-specific password required Google Error – Linux Guru”

Leave a Comment