Plain text emails work fine, HTML not
-
WordPress 5.4.2 in Docker container, PHP 7.4 (also checked on 7.2).
When I send a test email using the “Send Test Email” feature, everything works fine if the HTML switch is off: I’m getting the message “Plain text test email has been successfully sent!” notification, and the recipient receives an email.
If the HTML switch is set to “off” on the WP side, everything looks fine: I get the message “Test HTML email sent successfully! Check your inbox to make sure it’s delivered, “but the recipient is not receiving the message.
I am sure the target mail server is not a problem – I checked several mail servers (including my own without any filters and with access to Exim logs).
Everything works fine if I make a copy of this WP on another server (PHP 7.2, just LAMP, no docker) – all emails are delivered using the same SMTP settings.
It’s weird, isn’t it?
Any tips or ideas?
Thanks
Adam
- The topic ‘Plain text emails work fine, HTML not’ is closed to new replies.