SN1P3R_85 Posted November 30, 2008 Share Posted November 30, 2008 I have an email program, and have gotten it to mostly work, except that hotmail marks emails from my site as dangerous. Why is this? From what I've read, there is something wrong with my header. This is the part that needs fixing: $recipient = $row['Email']; $subject = 'lost password'; $mailbody = 'blah'; $header = "To: " . $row['Email'] . "\n"; $header .= "From: www.caidenhome.com <[email protected]>\n"; $header .= "MIME-Version: 1.0\n"; $header .= "Content-type: text/html; charset=iso-8859-1\n"; $header .= "X-Priority: 1\n"; $header .= "X-MSmail-Priority: High"; $email_msg = mail($recipient, $subject, $mailbody, $header); Link to comment https://forums.phpfreaks.com/topic/134833-hotmail-wont-accept-my-mail/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.