Title: error
Last modified: January 29, 2023

---

# error

 *  Resolved [yukti15arora](https://wordpress.org/support/users/yukti15arora/)
 * (@yukti15arora)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/error-1743/)
 *     ```wp-block-code
       Versions:
       WordPress: 6.1.1
       WordPress MS: No
       PHP: 7.4.33
       WP Mail SMTP: 3.7.0
   
       Params:
       Mailer: smtp
       Constants: No
       ErrorInfo: SMTP Error: Could not authenticate.
       Host: smtp.gmail.com
       Port: 587
       SMTPSecure: tls
       SMTPAutoTLS: bool(true)
       SMTPAuth: bool(true)
   
       Server:
       OpenSSL: OpenSSL 1.1.1p 21 Jun 2022
       Apache.mod_security: No
   
       Debug:
       Email Source: WP Mail SMTP
       Mailer: Other SMTP
       SMTP Error: Could not authenticate.
   
       SMTP Debug:
       2023-01-29 18:23:39 Connection: opening to smtp.gmail.com:587, timeout=300, options=array()
   
       2023-01-29 18:23:39 Connection: opened
   
       2023-01-29 18:23:39 SERVER -> CLIENT: 220 smtp.gmail.com ESMTP y6-20020a056a00180600b00593b06e0493sm1370691pfa.81 - gsmtp
   
       2023-01-29 18:23:39 CLIENT -> SERVER: EHLO pinitup.com
   
       2023-01-29 18:23:39 SERVER -> CLIENT: 250-smtp.gmail.com at your service, [139.162.29.31]250-SIZE 35882577250-8BITMIME250-STARTTLS250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250 SMTPUTF8
   
       2023-01-29 18:23:39 CLIENT -> SERVER: STARTTLS
   
       2023-01-29 18:23:39 SERVER -> CLIENT: 220 2.0.0 Ready to start TLS
   
       2023-01-29 18:23:39 CLIENT -> SERVER: EHLO pinitup.com
   
       2023-01-29 18:23:39 SERVER -> CLIENT: 250-smtp.gmail.com at your service, [139.162.29.31]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250 SMTPUTF8
   
       2023-01-29 18:23:39 CLIENT -> SERVER: AUTH LOGIN
   
       2023-01-29 18:23:39 SERVER -> CLIENT: 334 VXNlcm5hbWU6
   
       2023-01-29 18:23:39 CLIENT -> SERVER: [credentials hidden]
   
       2023-01-29 18:23:40 SERVER -> CLIENT: 334 UGFzc3dvcmQ6
   
       2023-01-29 18:23:40 CLIENT -> SERVER: [credentials hidden]
   
       2023-01-29 18:23:40 SERVER -> CLIENT: 535-5.7.8 Username and Password not accepted. Learn more at535 5.7.8 https://support.google.com/mail/?p=BadCredentials y6-20020a056a00180600b00593b06e0493sm1370691pfa.81 - gsmtp
   
       2023-01-29 18:23:40 SMTP ERROR: Password command failed: 535-5.7.8 Username and Password not accepted. Learn more at535 5.7.8 https://support.google.com/mail/?p=BadCredentials y6-20020a056a00180600b00593b06e0493sm1370691pfa.81 - gsmtp
   
       SMTP Error: Could not authenticate.
   
       2023-01-29 18:23:40 CLIENT -> SERVER: QUIT
   
       2023-01-29 18:23:40 SERVER -> CLIENT: 221 2.0.0 closing connection y6-20020a056a00180600b00593b06e0493sm1370691pfa.81 - gsmtp
   
       2023-01-29 18:23:40 Connection: closed
   
       SMTP Error: Could not authenticate.
       ```
   

Viewing 1 replies (of 1 total)

 *  Plugin Support [Dake](https://wordpress.org/support/users/dakeg/)
 * (@dakeg)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/error-1743/#post-16422171)
 * Hi [@yukti15arora](https://wordpress.org/support/users/yukti15arora/)
 * Thanks for reaching out and we’re sorry to hear that you’re experiencing issues
   setting up the Other SMTP mailer.
 * Based on the “Could not authenticate” error message, the credentials you inserted
   are incorrect.
 * Please ensure that you have followed the instructions outlined [this section](https://wpmailsmtp.com/docs/how-to-set-up-the-other-smtp-mailer-in-wp-mail-smtp/)
   of our documentation regarding setting up the Other SMTP mailer.
 * By the way, since you are attempting to use Gmail as your SMTP service, we would
   recommend using the [Google mailer](https://wpmailsmtp.com/docs/how-to-set-up-the-gmail-mailer-in-wp-mail-smtp/)
   instead.
 * I hope this helps 🙂

Viewing 1 replies (of 1 total)

The topic ‘error’ is closed to new replies.

 * ![](https://ps.w.org/wp-mail-smtp/assets/icon-256x256.png?rev=1755440)
 * [WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin](https://wordpress.org/plugins/wp-mail-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-mail-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mail-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mail-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mail-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mail-smtp/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Dake](https://wordpress.org/support/users/dakeg/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/error-1743/#post-16422171)
 * Status: resolved