Monday, January 21, 2013

php email priority set in php mail function

$headers = "MIME-Version: 1.0\n";
$headers .= "Content-type: text/html; charset=utf-8\n";
$headers .= "X-Priority: 1\n";
$headers .= "X-MSMail-Priority: Normal\n";
$headers .= "X-Mailer: PHP/"."MIME-Version: 1.0\n";
$headers .= "From: techw@techw.com" . $from . "\n";
$headers .= "Content-Type: text/html\n";
 
 
// Mail it
$send_contact=mail($to,$subject,$message,$headers);

No comments:

Post a Comment