EEConf 2024 is around the corner! EEConf 2024
I have been using Freeform EE for a long time and its working just fine. Recording any kind of characters from form submissions. I can see them in the CMS, in the Database, all looks good.
But I have a client whose Microsoft email setup can’t render the notification emails. I’m trying to figure out if I’m doing something wrong. What’s puzzling is that I tested the emails, opened them with Google mail, Apple mail, a few webmail services, and even with Microsoft Outlook both online and MacOS client, iOS client. They all rendered the characters properly.
If I copy the text into an email and send it to them they can see it properly. They in fact write emails in Chinese and Japanese and it all works for them.
Only when they receive the notification from the EE site they see complete gibberish.
The DB is utf8_general_ci
This is the notification email:
<!DOCTYPE html> <html > <head> <meta http-equiv=”content-type” content=”text/html; charset=UTF-8”> <meta name=”viewport” content=”width=device-width”> <title>Submission made through your Contact form</title> </head> <body> Hello, There has been a submission made through your Contact form: <ul> {form:fields} <li>{field:label}: {field:value}</li> {/form:fields} </ul> Submission Date: {date_created format="%l, %F %j, %Y at %g:%i%a"} Cheers </body> </html>
Any advice is appreciated! L.
Hello, I think you should check Email Encoding. Make sure that the email encoding is set to UTF-8, both in the email template and in the email headers. The email template you provided includes a meta tag for UTF-8 encoding, which is a good start. Verify that the email headers also specify UTF-8 encoding. Ensure that the encoding is consistent throughout the email template.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.