Alex Rivera | Logout

PHP mail() - How to set Priority?

Asked 2010-11-12T22:24:10.790
40

Is there any way to set the priority of PHP mail()? I looked at the online manual but I can't find any reference to it.

By priority, I mean High, Normal, Low or 1, 2, 3 in the headers. So the recipient knows the urgency of the mail.

Thank you!

Edit
Report

1 Answer

2

Call it with the X-Priority header in the 4th parameter:

mail ( $to, $subject, $message , "X-Priority: 1")
answered 2010-11-12T22:28:43.283

Your Answer