Jump to content

Archived

This topic is now archived and is closed to further replies.

StirCrazy

definitive email header(!?)

Recommended Posts

Done a search about this but can't seem to find anything that works.
Has anyone come up with a definitive header that hotmail will accept?

Using this:-

[CODE]$headers = "From: ".$_POST[sender]." <".$_POST[sender]."> \r\n";
$headers .= "X-Mailer: PHP/" . phpversion(). "\n";
$headers .= "X-Sender-IP: ".$_SERVER["REMOTE_ADDR"]."\n";
$headers .= "Content-Type: text/html";
$subject = "Subject Line";
$description = stripslashes($_POST[msg]);
$message = "<HTML><BODY><P>".$description."</P></BODY></HTML>";

@mail($email,$subject,$message,$headers);[/CODE]


But hotmail doesn't accept any emails using it.

Any ideas?


S.C>

Share this post


Link to post
Share on other sites
What do you mean....HOtmail wont accept it.  Is it returned or confined to junk.
 

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.