i'm setting up a messages option on my site, i was looking in the
documentation and read that if headers are not included in an e-mail, the
message is sent to the junk folder, i don't use hotmail (so i would not
know), however i am adding headers: using

// The headers
$myHeaders = "From: \"".Autoresponse."\" <".$myAddress.">\r\n";
$myHeaders .= "To: \"".$myName."\" <".$myAddress.">\r\n";
$myHeaders .= "Reply-To: \"".$myName."\" <".$myAddress.">\r\n";
$myHeaders .= "MIME-Version: 1.0\r\n";
$myHeaders .= "Content-Type: text/html; charset=iso-8859-1\r\n";
$myHeaders .= "X-Priority: 1\r\n";
$myHeaders .= "X-MSMail-Priority: High\r\n";
$myHeaders .= "X-Mailer: Just My Server";

// send the e-mail
mail($myAddress, $mySubject, $myMessage, $myHeaders);

##############################
when testing the file i get the response e-mail, however at the top of the
e-mail i get the following:


Content-Type: text/html; charset=iso-8859-1 X-Priority: 1 X-MSMail-Priority:
High X-Mailer: Just My Server

this must mean that i have written the headers wrong, can someone point me
in the right direction

thanks

| Mike |



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to