How can I mark an email as important?
-
06-09-2019 - |
Question
I am using PHP with the Zend-Framework to create emails. How can I mark the email as important? Outlook will show a red "!" if it is marked right.
Solution
I am not familiar with Zend, but you are looking for these headers:
X-Priority: 1
X-MSMail-Priority: High
Importance: High
According to this page Outlook sets all these headers when you send an Important email, but I suspect that the first one would suffice.
OTHER TIPS
The way to use with Zend Framework is:
$mail = new Zend_Mail('UTF-8');
$mail->addHeader('X-Priority', '1');
$mail->addHeader('X-MSMail-Priority', 'High');
$mail->addHeader('Importance', 'High');
...
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow