[Custom SMTP Email Server] - Google SMTP - 534-5.7.9 Application-specific password required
[Custom SMTP Email Server] - Google SMTP - 534-5.7.9 Application-specific password required
When using GoogleSMTP with Sisense, you might encounter an issue where emails stop being received, and the logs display the following error message: 534-5.7.9 Application-specific password required.
This occurs because, if you have enabled 2-factor authentication on your Google account, you cannot use your regular password for programmatic access to Gmail. Instead, you need to generate an app-specific password to use in place of your actual password.
An app password is a 16-digit code that allows a less secure app or device to access your Google Account. These passwords are only applicable to accounts with 2-Step Verification enabled.
Steps:
- Log in to your Google account.
- Navigate to My Account > Sign-in & Security > App Passwords (you may need to sign in again to confirm your identity).
- Scroll down to the "Select App" section (within the Password & sign-in method box) and choose "Other (custom name)".
- Name the app password, for example, "nodemailer".
- Click "Generate".
- Copy the generated password and paste it into your Node.js script in place of your actual Gmail password.
Related content:
- For more detailed information about Gmail SMTP errors and codes please check out this article: https://support.google.com/a/answer/3726730?hl=en
- Setting Up Custom Email Servers
Updated 11-19-2024
vh_space
Sisense Employee
Joined June 03, 2024