Jump to content

hotmail won't accept my mail()


SN1P3R_85

Recommended Posts

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

Archived

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

×
×
  • Create New...

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.