John Davidson

php - UTF-8 Encoding not work on Outlook incoming messages


This is my mail template:

$body='<!doctype html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Simple Transactional Email</title>';
$body.='<p>Solicitor’s Certificates - Tips & Traps</p>';

I sent this email using PHP mail library.
The mail body Solicitor’s Certificates - Tips & Traps appears correctly on each browsers and most of email clients. But dose not in Microsoft Outlook.
In outlook it shows as Solicitor’s Certificates - Tips & Traps.
Is there a way to resolve this, I tried most of the ways that mentions in the internet. But they haven't resolve this issue.

My Answer:


This is a test email with UTF-8 encoding.

Special characters like é, ü, and ñ should display correctly.


Rate this post

3 of 5 based on 1207 votes


© 2024 - Personal Blogs Platform. All Rights Reserved.
Create blog  |  Privacy Policy  |  Terms & Conditions  |  Contact Us