Hi, I'm trying to use a simple mailing list script that uses mail() to send out emails to a list. Everything seems to be working perfectly, but I have a problem with Hotmail and their junk mail box. Currently, I've tested it with a POP3 account, my hotmail account, and another webmail account. I have no problems sending the emails off to my other accounts, but hotmail always receives the email directly into their junk mail box. Also, when I put HTML into the message, not only is it moved to the junk mail box right away, the HTML isn't even included in the email. Here are the headers I'm using for the emails:
Any idea why my mail isn't going through properly? My boss keeps pushing me to get this done as soon as possible, yet I can't seem to get around this otherwise simple task.Code:$mailheaders = "From: $lettername\n"; $mailheaders .= "Reply-To:$youremail\n"; $mailheaders .= "MIME-Version: 1.0\n"; $mailheaders .= "Content-type: text/html; charset=iso-8859-1\n"; $mailheaders .= "X-Priority: 3\n"; $mailheaders .= "X-MSMail-Priority: Normal\n"; $mailheaders .= "X-Mailer: Gak Server";





Bookmarks