• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 513
  • Last Modified:

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);
0
livegirllove
Asked:
livegirllove
  • 3
  • 2
1 Solution
 
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
 
ch2Commented:
Adding headers should do the trick

$headers .= "X-Priority: 1\n";
$headers .= "X-MSMail-Priority: High\n";
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
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

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now