Post-SMTP icon indicating copy to clipboard operation
Post-SMTP copied to clipboard

PHP 8 causes emails to arrive showing HTML source

Open kb6673 opened this issue 4 years ago • 3 comments

Hi, I've noticed this on a few sites recently, if we upgrade to PHP 8, the emails are received as HTML code, rather than HTML format.

image

Rolling back to PHP 7.4 immediately resolves the issue

Various WP versions. Various Post-SMTP versions too.

The current one I noticed is WP 5.8 & Post-SMTP 2.0.23 (with emails coming from Gravity Forms)

kb6673 avatar Jul 26 '21 13:07 kb6673

Still getting this in PHP 8.1

Anybody else having a similar issue?

kb6673 avatar Apr 07 '22 09:04 kb6673

+1 Me too WP 6.0 & Post-SMTP 2.1.7 (with emails coming from Gravity Forms + Post SMTP test email)

lorenzofaresin avatar Sep 02 '22 14:09 lorenzofaresin

Hi,

I hope you're doing well, apology for late response. This is beta, using this will resolve the issue: https://github.com/wpexpertsio/Post-SMTP/archive/refs/heads/dev.zip

Thanks

smusmanobjects avatar Dec 14 '22 12:12 smusmanobjects