Title: GMail Two-Factor Authentication
Last modified: January 10, 2022

---

# GMail Two-Factor Authentication

 *  Resolved [Pecraig](https://wordpress.org/support/users/pecraig/)
 * (@pecraig)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/gmail-two-factor-authentication/)
 * Question: If a user adds two-facto authentication to their G-Mail address witll
   it corrupt the authentication for WP SMTP mailer?
 * I am getting this error message on a client site. Never got it before, but I 
   think they just added two-factor authentication to their g-mail login.
 *     ```
       CLIENT -> SERVER: EHLO XXX.com
       CLIENT -> SERVER: AUTH LOGIN
       CLIENT -> SERVER: [credentials hidden]CLIENT -> SERVER: [credentials hidden]SMTP ERROR: Password command failed: 534-5.7.9 Application-specific password required. Learn more at
       534 5.7.9  https://support.google.com/mail/?p=InvalidSecondFactor bl1sm5291944qkb.38 - gsmtp
       SMTP Error: Could not authenticate.CLIENT -> SERVER: QUIT
       SMTP Error: Could not authenticate.
       ```
   

Viewing 1 replies (of 1 total)

 *  [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/gmail-two-factor-authentication/#post-15242327)
 * Hi, please check the following support thread. This might help you with your 
   issue.
 * [https://wordpress.org/support/topic/test-works-but-mails-sent-through-wordpress-fail-with-gmail-smtp/#post-15242319](https://wordpress.org/support/topic/test-works-but-mails-sent-through-wordpress-fail-with-gmail-smtp/#post-15242319)
 * Thank you.

Viewing 1 replies (of 1 total)

The topic ‘GMail Two-Factor Authentication’ is closed to new replies.

 * ![](https://ps.w.org/easy-wp-smtp/assets/icon.svg?rev=3158017)
 * [Easy WP SMTP – WordPress SMTP and Email Logs: Gmail, Office 365, Outlook, Custom SMTP, and more](https://wordpress.org/plugins/easy-wp-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-wp-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-wp-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-wp-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-wp-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-wp-smtp/reviews/)

## Tags

 * [log-in](https://wordpress.org/support/topic-tag/log-in/)
 * [test email](https://wordpress.org/support/topic-tag/test-email/)

 * 1 reply
 * 2 participants
 * Last reply from: [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/gmail-two-factor-authentication/#post-15242327)
 * Status: resolved