Has anyone seen this problem with emails after upgrading to PHP 8.0?
Emails for customers don't have any HTML encoding. Emails appear like this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><style type="text/css">body{font-size:11px; font-family: Tahoma, Helvetica, Arial, Verdana}hr{height: 0;border-width: 1px 0 0 0;border-style: solid;border-color: #006AC8;}</style></head><body class="receiptbody"><p> <strong style="font-size: 12px;">Please do not reply to this automated email as a reply will not be seen</strong><span style="font-size: 12px;">.</span></p> <p>
<span style="font-size: 12px;">Thank you for shopping at xxx - All the items you ordered are in stock - Your order (<strong>Not Northern Ireland - Not offshore islands</strong>) is now being processed and will go out with the next collection - see below.<br />
<br />
CVW Web Design www.cvwdesign.co.uk | web design and development
I had a very similar experience. In the end, I gave up and dropped down to 7 point something. My isp assured me they are running a "hardened" version, and that it was secure.
See discussion here: [url]https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=115514&SearchTerms=my,confirmation,emails,are,a,mess[/url]
Hi Clive Sorry if I missed this but send me an email (vince AT ecommercetemplates DOT com) with the FTP login details if you want me to investigate. Can you please make sure first though that you are on one of the latest versions.
This seems to come down to the $customheaders parameter in the includes.php file having just "\n" line endings when they should be "\r\n". I'm not sure why this was ok before and is not with PHP 8+ but it cures the problem...