Replies: 0
I’m triyng to set up WP Mail SMTP, but this error bellow appears! What can I do?
Versions:
WordPress: 5.8
WordPress MS: No
PHP: 7.4.21
WP Mail SMTP: 2.9.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.1f 31 Mar 2020
Debug:
Mailer: Outro SMTP
SMTP Error: Could not authenticate.
SMTP Debug:
2021-08-02 16:56:51 Connection: opening to smtp.gmail.com:587, timeout=300, options=array()
2021-08-02 16:56:51 Connection: opened
2021-08-02 16:56:51 SERVER -> CLIENT: 220 smtp.gmail.com ESMTP e23sm12197948pfd.26 – gsmtp
2021-08-02 16:56:51 CLIENT -> SERVER: EHLO resultados.sovis.com.br
2021-08-02 16:56:51 SERVER -> CLIENT: 250-smtp.gmail.com at your service, [2804:ac8:100:c000:16:7859:1249:b84e]250-SIZE 35882577250-8BITMIME250-STARTTLS250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250 SMTPUTF8
2021-08-02 16:56:51 CLIENT -> SERVER: STARTTLS
2021-08-02 16:56:52 SERVER -> CLIENT: 220 2.0.0 Ready to start TLS
2021-08-02 16:56:52 CLIENT -> SERVER: EHLO resultados.sovis.com.br
2021-08-02 16:56:52 SERVER -> CLIENT: 250-smtp.gmail.com at your service, [2804:ac8:100:c000:16:7859:1249:b84e]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250 SMTPUTF8
2021-08-02 16:56:52 CLIENT -> SERVER: AUTH LOGIN
2021-08-02 16:56:52 SERVER -> CLIENT: 334 VXNlcm5hbWU6
2021-08-02 16:56:52 CLIENT -> SERVER: [credentials hidden]
2021-08-02 16:56:52 SERVER -> CLIENT: 334 UGFzc3dvcmQ6
2021-08-02 16:56:52 CLIENT -> SERVER: [credentials hidden]
2021-08-02 16:56:53 SERVER -> CLIENT: 534-5.7.9 Application-specific password required. Learn more at534 5.7.9 https://support.google.com/mail/?p=InvalidSecondFactor e23sm12197948pfd.26 – gsmtp
2021-08-02 16:56:53 SMTP ERROR: Password command failed: 534-5.7.9 Application-specific password required. Learn more at534 5.7.9 https://support.google.com/mail/?p=InvalidSecondFactor e23sm12197948pfd.26 – gsmtp
SMTP Error: Could not authenticate.
2021-08-02 16:56:53 CLIENT -> SERVER: QUIT
2021-08-02 16:56:53 SERVER -> CLIENT: 221 2.0.0 closing connection e23sm12197948pfd.26 – gsmtp
2021-08-02 16:56:53 Connection: closed
SMTP Error: Could not authenticate.