hi people,
i'm trying to send a email with PHP's mail function.I try to modify it so it sends the email with a high priority so ....
$headers = 'From: From ??' . "\r\n";
$headers .= 'ReplyTo:you@domain.tld' . "\r\n";
$headers .='X-Mailer:php/' . phpversion() . "\r\n";
$headers .="Content-type: text/html; charset=iso-8859-1\n";
$headers .="X-Priority:1\n";
$headers .="X-MSMail-Priority:High\n";
mail($to,$subject,$message,$headers);
all is correct if i leave the $headers out i receive the email fine but with the $headers variable it fails to sends me the mail and i have no idea why the problem is obviously the $headers variable but what's wrong with it ... :quiet: