Hello, I am having the same problem as several users. Messages sent through the form are not being delivered. Test emails and extension update emails are being delivered normally.
The error message: SMTP Error: Could not authenticate.
I noticed that the emails that work has the correct From: field but the emails that didn’t work had the From: [email protected].
So I changed the divi module contact form to use the gmail that I set up in Post SMTP. So now it shows the right email put the email is still not being sent.
Mailer: postsmtp
HostName: domome.fr
cURL Version: 8.2.1
OpenSSL Version: OpenSSL/1.1.1v
OS: Linux tanith.o2switch.net 4.18.0-372.19.1.lve.el7h.x86_64 #1 SMP Tue Aug 9 14:38:15 UTC 2022 x86_64
PHP: Linux 7.4.33 C
PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=Yes, allow_url_fopen=Yes, mcrypt=No, zlib_encode=Yes
WordPress: 6.3.1 fr_FR UTF-8
WordPress Theme: Divi Child
WordPress Plugins: All in One SEO, Broken Link Checker, Divi Image Hover Pro, Duplicate Page, GTM4WP, GDPR Cookie Compliance, Google Analytics for WordPress by MonsterInsights, Smash Balloon Instagram Feed, OptinMonster, Post SMTP, Rank Math SEO, Simple History, Sitemap by click5, UpdraftPlus - Backup/Restore, White Label CMS, Wordfence Security, WPForms Lite
WordPress wp_mail Owner: /home/zxnw6323/domome/wp-content/plugins/post-smtp/Postman/PostmanWpMailBinder.php
WordPress wp_mail Filter(s): PostsmtpMailer->get_mail_args
WordPress wp_mail_from Filter(s): wordfence::fixWPMailFromAddress, templ_custom_mail_from
WordPress wp_mail_from_name Filter(s): templ_custom_mail_from_name
WordPress phpmailer_init Action(s): PostsmtpMailer->phpmailer_smtp_init
Postman: 2.6.0
Postman Sender Domain (Envelope|Message): gmail.com | gmail.com
Postman Prevent Message Sender Override (Email|Name): Yes | Yes
Postman Active Transport: SMTP (smtp:tls:oauth2://smtp.gmail.com:587)
Postman Active Transport Status (Ready|Connected): Yes | Yes
Postman Deliveries (Success|Fail): 174 | 1Here is the transcript of the test email
smtp:tls:oauth2://smtp.gmail.com:587 220 smtp.gmail.com ESMTP h11-20020a170906854b00b009a1e0349c4csm16622805ejy.23 – gsmtp EHLO domome.fr 250-smtp.gmail.com at your service, [109.234.164.192] 250-SIZE 35882577 250-8BITMIME 250-STARTTLS 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-CHUNKING 250 SMTPUTF8 STARTTLS 220 2.0.0 Ready to start TLS EHLO domome.fr 250-smtp.gmail.com at your service, [109.234.164.192] 250-SIZE 35882577 250-8BITMIME 250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-CHUNKING 250 SMTPUTF8 AUTH XOAUTH2 dXNlcj1zaXRlLmRvbW9tZUBnbWFpbC5jb20BYXV0aD1CZWFyZXIgeWEyOS5hMEFmQl9ieURiV1k1VW5rYWF6aXR3eXB2N0JrMHFvbExwdUxkVWJGLW5CU3Q0dkdZeVlGUDRrZktwaWhGZ0ppdTF4c1pUd2NPQ1NVUG1iV0FnVDVFV2tvRVNhR3BsRzN1Vjd1U2ZLdDZjcXVjQktFdWtXc2pWMEVXb1Flal8wZXMySzFnV3Nncy1yTXBpbE9qeERLM01IU3BTLUcxQl9Ud3I2RmkzVURRYUNnWUtBZWdTQVJBU0ZRR09jTm5DQlQ1MXdYcUpOLThhWlV5RF85ZWh3dzAxNzQBAQ== 235 2.7.0 Accepted MAIL FROM:<[email protected]> 250 2.1.0 OK h11-20020a170906854b00b009a1e0349c4csm16622805ejy.23 – gsmtp RCPT TO:<[email protected]> 250 2.1.5 OK h11-20020a170906854b00b009a1e0349c4csm16622805ejy.23 – gsmtp DATA 354 Go ahead h11-20020a170906854b00b009a1e0349c4csm16622805ejy.23 – gsmtp X-Mailer: Postman SMTP 2.6.0 for WordPress ) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=”=_5d7b1c460201b2073f353cf9bf0385ea” From: Domome <[email protected]> To: [email protected] Reply-To: [email protected] Message-Id: <[email protected]> Subject: Test SMTP de Postman (www.domome.fr) Date: Mon, 02 Oct 2023 09:55:02 +0000 –=_5d7b1c460201b2073f353cf9bf0385ea Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello!=0D=0DEnvoy=C3=A9 par Postman 2.6.0 – s/post-smtp/=0D=0D –=_5d7b1c460201b2073f353cf9bf0385ea Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://w= ww.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>=0D<html xmlns=3D”http:= //www.w3.org/1999/xhtml”>=0D<head>=0D<meta http-equiv=3D”Content-Type” c= ontent=3D”text/html; charset=3Dutf-8″ />=0D<style type=3D”text/css” medi= a=3D”all”>=0D.wporg-notification .im {=0D=09color: #888;=0D} /* undo a G= Mail-inserted style */=0D</style>=0D</head>=0D<body class=3D”wporg-notif= ication”>=0D=09<div style=3D”background: #e8f6fe; font-family: & quo= t; Helvetica Neue" , Helvetica ,Arial,sans-serif; font-size: 14= px; color: #666; text-align: center; margin: 0; padding: 0″>=0D=09=09<ta= ble border=3D”0″ cellspacing=3D”0″ cellpadding=3D”0″ bgcolor=3D”#e8f6fe”= =09style=3D”background: #e8f6fe; width: 100%;”>=0D=09=09=09<tbody>=0D=09= =09=09=09<tr>=0D=09=09=09=09=09<td>=0D=09=09=09=09=09=09<table border=3D= “0” cellspacing=3D”0″ cellpadding=3D”0″ align=3D”center” style=3D”paddin= g: 0px; width: 100%;””>=0D=09=09=09=09=09=09=09<tbody>=0D=09=09=09=09=09= =09=09=09<tr>=0D=09=09=09=09=09=09=09=09=09<td>=0D=09=09=09=09=09=09=09= =09=09=09<div style=3D”max-width: 600px; height: 400px; margin: 0 auto;= overflow: hidden;background-image:url(‘https://ps.w.org/postman-smtp/as= sets/email/poofytoo.png’);background-repeat: no-repeat;”>=0D=09=09=09=09= =09=09=09=09=09=09=09<div style=3D”margin:50px 0 0 300px; width:300px; f= ont-size:2em;”>Hello! – 你好 – Bonjour! – नम= 60;्ते – =C2=A1Hola! – Olá – При= ;вет! – 今日は</div>=0D=09=09=09=09= =09=09=09=09=09=09=09<div style=3D”text-align:right;font-size: 1.4em; co= lor:black;margin:150px 0 0 200px;”>Envoy=C3=A9 par Postman 2.6.0=0D=09= =09=09=09=09=09=09=09=09=09=09=09<br/>=0D=09=09=09=09=09=09=09=09=09=09= =09</div>=0D=09=09=09=09=09=09=09=09=09=09</div>=0D=09=09=09=09=09=09=09= =09=09</td>=0D=09=09=09=09=09=09=09=09</tr>=0D=09=09=09=09=09=09=09</tbo= dy>=0D=09=09=09=09=09=09</table>=0D=09=09=09=09=09=09<br><span style=3D”= font-size:0.9em;color:#94c0dc;”>Source de l=E2=80=99image: <a style=3D”c= olor:#94c0dc” href=3D”http://poofytoo.com”>poofytoo.com</a> – Utilis=C3= =A9 avec permission</span>=0D=09=09=09=09=09</td>=0D=09=09=09=09</tr>=0D= =09=09=09</tbody>=0D=09=09</table>=0D</body>=0D</html> –=_5d7b1c460201b2073f353cf9bf0385ea– . 250 2.0.0 OK 1696240504 h11-20020a170906854b00b009a1e0349c4csm16622805ejy.23 – gsmtp
Here is the transcript of the last failed email
smtp:tls:oauth2://smtp.gmail.com:587 Connection: opening to smtp.gmail.com:587, timeout=300, options=array()Connection: openedSERVER -> CLIENT: 220 smtp.gmail.com ESMTP n9-20020aa7d049000000b0051e0be09297sm15352700edo.53 – gsmtp CLIENT -> SERVER: EHLO SERVER -> CLIENT: 250-smtp.gmail.com at your service, [109.234.164.192] 250-SIZE 35882577 250-8BITMIME 250-STARTTLS 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-CHUNKING 250 SMTPUTF8 CLIENT -> SERVER: STARTTLS SERVER -> CLIENT: 220 2.0.0 Ready to start TLS CLIENT -> SERVER: EHLO SERVER -> CLIENT: 250-smtp.gmail.com at your service, [109.234.164.192] 250-SIZE 35882577 250-8BITMIME 250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-CHUNKING 250 SMTPUTF8 CLIENT -> SERVER: AUTH LOGIN SERVER -> CLIENT: 334 VXNlcm5hbWU6 CLIENT -> SERVER: [credentials hidden]SERVER -> CLIENT: 334 UGFzc3dvcmQ6 CLIENT -> SERVER: [credentials hidden]SERVER -> CLIENT: 535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8 n9-20020aa7d049000000b0051e0be09297sm15352700edo.53 – gsmtp SMTP ERROR: Password command failed: 535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8 n9-20020aa7d049000000b0051e0be09297sm15352700edo.53 – gsmtp SMTP Error: Could not authenticate.CLIENT -> SERVER: QUIT SERVER -> CLIENT: 221 2.0.0 closing connection n9-20020aa7d049000000b0051e0be09297sm15352700edo.53 – gsmtp Connection: closedSMTP Error: Could not authenticate.
Any and all help is appreciated.
Richy Roberts
The page I need help with: [log in to see the link]
