• Resolved pranjal86

    (@pranjal86)


    P.S.: I have double-checked the password multiple times.

    Error log:

    Versions:
    WordPress: 5.4
    WordPress MS: No
    PHP: 7.4.2
    WP Mail SMTP: 1.9.0

    Params:
    Mailer: smtp
    Constants: No
    ErrorInfo: SMTP Error: Could not authenticate.
    Host: smtp.gmail.com
    Port: 465
    SMTPSecure: ssl
    SMTPAutoTLS: bool(true)
    SMTPAuth: bool(true)

    Server:
    OpenSSL: OpenSSL 1.0.2o 27 Mar 2018
    Apache.mod_security: No
    SMTP Debug:
    2020-04-23 14:46:38 Connection: opening to ssl://smtp.gmail.com:465, timeout=300, options=array ()

    2020-04-23 14:46:38 Connection: opened

    2020-04-23 14:46:38 SERVER -> CLIENT: 220 smtp.gmail.com ESMTP o15sm2294220pgj.60 – gsmtp

    2020-04-23 14:46:38 CLIENT -> SERVER: EHLO localhost

    2020-04-23 14:46:38 SERVER -> CLIENT: 250-smtp.gmail.com at your service, [115.99.82.152]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250 SMTPUTF8

    2020-04-23 14:46:38 CLIENT -> SERVER: AUTH LOGIN

    2020-04-23 14:46:39 SERVER -> CLIENT: 334 VXNlcm5hbWU6

    2020-04-23 14:46:39 CLIENT -> SERVER: aW5mb0B1bHRyYXdpcmVkLmlu

    2020-04-23 14:46:39 SERVER -> CLIENT: 334 UGFzc3dvcmQ6

    2020-04-23 14:46:39 CLIENT -> SERVER: VWx0cmFXaXJlZDE1JQ==

    2020-04-23 14:46:39 SERVER -> CLIENT: 535-5.7.8 Username and Password not accepted. Learn more at535 5.7.8 https://support.google.com/mail/?p=BadCredentials o15sm2294220pgj.60 – gsmtp

    2020-04-23 14:46:39 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 o15sm2294220pgj.60 – gsmtp

    SMTP Error: Could not authenticate.

    2020-04-23 14:46:39 CLIENT -> SERVER: QUIT

    2020-04-23 14:46:40 SERVER -> CLIENT: 221 2.0.0 closing connection o15sm2294220pgj.60 – gsmtp

    2020-04-23 14:46:40 Connection: closed

    SMTP Error: Could not authenticate.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter pranjal86

    (@pranjal86)

    Note: I am using ‘Other SMTP’ option with smtp.gmail.com as SMTP host, SSL for encryption and my gmail credentials. I even got the ‘allow insecure apps’ alert from google and allowed the same. Still test email is not going through.

    Hi @pranjal86,

    Please note that if you’re using two-factor authentication for your account, you’ll need to use App Password instead. If you’re not, you’ll need to enable low secure apps to login. If that didn’t help, try resetting your account password.

    I hope this helps!

    Hi @pranjal86 – We haven’t heard from you in about a week, so I’m going to go ahead and mark this ticket resolved. If you still have questions, though, please feel welcome to continue the conversation.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Unable to send emails’ is closed to new replies.