Hello, I use the mail function to send mail. On my development PC, I receive the mail in HTML, with the high priority,...
I put the files on the production server, a linux machine, when I receive the mail is not in HTML but in plain text, I don't see the high priority. I receive that : Content-Type: text/html; charset=iso-8859-1 X-Priority: 1 X-Mailer: PHP / 4.2.3 Click on the link to activate the .... Could you tell me what can I do ? I use this code to send mail : $sender_name = "MyWebsite"; $sender_email = ""; $contactemail = $Email1; $myreplyemail = ""; $message = "Click on the link to activate the account.".'<br>'; $message .= http://www.website.com; $subject = "TEST"; $header = "From: \"".addslashes($sender_name)."\" <".$sender_email.">\r\n"; $header .= "Reply-To: ".$sender_email."\r\n"; $header .= "MIME-Version: 1.0\r\n"; $header .= "Content-Type: text/html; charset=iso-8859-1\r\n"; $header .= "X-Priority: 1\r\n"; $header .= "X-Mailer: PHP / ".phpversion()."\r\n"; mail($contactemail, $subject, $message, $header); thanks, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php