Forum Moderators: coopster

Message Too Old, No Replies

php mail question

high priority: is this possible?

         

omoutop

1:34 pm on Jan 31, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Hi all and thanks in advance.

I was wondering if there is a way, to flag an email send with php's mail function, as having "high prioriry".
Does it matter if it is a text or html email?

Thanks for any replies.

Psychopsia

2:36 pm on Jan 31, 2007 (gmt 0)

10+ Year Member



In the 'additional_headers' string, add the following:

X-Priority: 2\nX-MSMail-Priority: High

Something like:

$headers = "X-Priority: 2\nX-MSMail-Priority: High";

mail($to, $subject, $message, $headers);

omoutop

2:42 pm on Jan 31, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



thanks for your reply