Mark Message as important, mail function

I have a simple mail form.  I would like to mark it important.  ie add the little red flag in outlook.  Is it possible to do in PHP?
mail($to, $subject, $body, $header);
LVL 1
livegirlloveAsked:
Who is Participating?
 
ch2Commented:
Adding headers should do the trick

$headers .= "X-Priority: 1\n";
$headers .= "X-MSMail-Priority: High\n";
0
 
Raynard7Commented:
Hi,

This relates to the header that is sent.

I do not think this is available in the standard mail class, however with some of the extensions this is possible.

I use the one below - that has the ability to set the priority of an email.

http://phplibex.sourceforge.net/classmimemail.html
0
 
livegirlloveAuthor Commented:
ah ok.  tx
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
livegirlloveAuthor Commented:
hmm.  that worked.

Technically Raynards answer is now incorrect because you can with the standard mail class add the High Priority.

I'm going to post to community support because I don't know how I can change it.
0
 
livegirlloveAuthor Commented:
thanks for the closed question help ch2!!

worked perfectly.
0
 
ch2Commented:
nice it worked :)

thanks for the points.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.