Mailer Type “PHPMailer” results in blank mails
-
Hi,
When I select Mailer Type “PHPMailer” and then send a test message, the mail shows as blank (when viewed in Mozilla Thunderbird). When viewing the email source, it shows the mail has no multipart boundaries whatsoever. Also the “From” name and email are not the ones I specified in Post SMTP settings.
When I switch back to type “PostSMTP”, the test message shows just fine and when viewing the email source I can see the multipart boundaries for the text and html parts of the mail. “From” name and email are correctly taken from Post SMTP settings.
Example using PHPMailer:
To: ... From: WordPress <wordpress@...> Subject: Postman SMTP Test (...) Message-ID: <c7bbba827cd2ab80ae99cf138d5957db@...> MIME-Version: 1.0 Content-Type: multipart/alternative; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Antivirus: Avast (...), Inbound message X-Antivirus-Status: Clean Content-Type: text/plain; charset = "UTF-8" Content-Transfer-Encoding: 8bit Hello! Sent by Postman 2.0.11 - https://www.ads-software.com/plugins/post-smtp/ Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Example using PostSMTP:
Content-Type: multipart/alternative; boundary="=_7f98496433106f1820273bdf43425e4a" From: NAME_FROM_POSTSMTP_SETTINGS <EMAIL_FROM_POSTSMTP_SETTINGS> To: ... Message-Id: <6300c6b3c4735f814c944fbbdaa36bb0@...> Subject: Postman SMTP Test (...) Date: Tue, 10 Mar 2020 17:24:46 +0000 MIME-Version: 1.0 X-Antivirus: Avast (...), Inbound message X-Antivirus-Status: Clean --=_7f98496433106f1820273bdf43425e4a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello!=0D=0DSent by Postman 2.0.11 - https://www.ads-software.com/plugins/post-= smtp/=0D=0D --=_7f98496433106f1820273bdf43425e4a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://w=
I’m testing using WordPress 5.3.2 and Post SMTP 2.0.11, with PHP 7.2.24.
Thanks!
- The topic ‘Mailer Type “PHPMailer” results in blank mails’ is closed to new replies.