note 91058 added to function.mail
| From: | marcel dot portela at gmail dot com | Date: | Fri, 22 May 2009 17:32:06 +0000 |
| Subject: | note 91058 added to function.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-155894@lists.php.net to get a copy of this message | ||
To define a mail priority you have to put this lines in the headers:
like the example below:
$headers = "MIME-Version: 1.0\n" ;
$headers .= "Content-Type: text/html; charset=\"iso-8859-1\"\n";
$headers .= "X-Priority: 1 (Higuest)\n";
$headers .= "X-MSMail-Priority: High\n";
$headers .= "Importance: High\n";
$status = mail($to, $subject, $message,$headers);
Here i've added many headers information including the Priority...
----
Server IP: 200.185.126.110
Probable Submitter: 200.185.13.117
----
Manual Page -- http://www.php.net/manual/en/function.mail.php
Edit -- https://master.php.net/note/edit/91058
Del: integrated -- https://master.php.net/note/delete/91058/integrated
Del: useless -- https://master.php.net/note/delete/91058/useless
Del: bad code -- https://master.php.net/note/delete/91058/bad+code
Del: spam -- https://master.php.net/note/delete/91058/spam
Del: non-english -- https://master.php.net/note/delete/91058/non-english
Del: in docs -- https://master.php.net/note/delete/91058/in+docs
Del: other reasons-- https://master.php.net/note/delete/91058
Reject -- https://master.php.net/note/reject/91058
Search -- https://master.php.net/manage/user-notes.php