Re: Send mail with high-priority
| From: | Matthew Kendall | Date: | Tue, 11 Jul 2000 07:44:11 +0000 |
| Subject: | Re: Send mail with high-priority | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-5872@lists.php.net to get a copy of this message | ||
"hendry" <hendry@mcms.com> wrote ...
> i am doing my program which will send mail to everyone.
> but what i want to know is: can we send the mail with
> high-priority(or very important message)?
I believe this will do it:
$headers = "Importance: High";
mail($from, $subject, $body, $headers);
or, to ensure maximum compatibility with various email clients:
$headers = "Importance: High\nX-Priority: 1\nX-MSMail-Priority: High";
It may be worth noting that the priority setting does nothing to speed
transmission of the email through the system, and that every email I have
ever received marked "Important!" may well have been Important to its sender
but was exactly the opposite to me. Email sent "to everyone" especially is
seldom Important.