you're not setting the mime types correctly, and your boss probably has some spam filter that tosses incorrect email. I suggest using the PEAR Mail extension, it will automatically set this all up for you. It's very easy and nice to use. -Micah On Friday 18 November 2005 10:32 am, Chris Payne wrote: > Hi Guys, > > > > I'm using PHP with MySQL data to send a very important email to clients > when they enter the recipients email address into the system. On the whole > it works for ME, to either my yahoo email address or any of my own domains > email addresses that I have, > > > > However, when my WIFE gets it it isn't HTML (Even though mine is) with > outlook OR outlook express and my boss doesn't get it at ALL even at his > yahoo address, so something is wrong with my script. Can anyone look at it > please and let me know if anything is blazingly obvious that I've done > wrong? > > > > As I said I can receive emails on any account I personally try, but my boss > cannot and if it doesn't work for him it's basically not working in his > eyes as it could be having the same issue with others. > > > > $MP = "sendmail -t"; > > $HT = "<html><body>"; > > $HT = "</body></html>"; > > > > $fd = popen($MP,"w"); > > fputs($fd,"MIME-Version: 1.0\r\n"); > > fputs($fd,"Content-type: text/html; charset=iso-8859-1\r\n"); > > fputs($fd, "To: $word\n"); > > fputs($fd, "From: $email\n"); > > fputs($fd, "Subject: $subject\n"); > > fputs($fd, "X-Mailer: PHP3\n"); > > fputs($fd, "From: $email\n"); > > fputs($fd, "Email: $email\n"); > > fputs($fd, "$messageheader"); // actually this is the message itself > > pclose($fd); > > > > Any help would be REALLY appreciated. > > > > Chris -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php