Jump to content


html email

  • Please log in to reply
1 reply to this topic

#1 Retired Bill

Retired Bill
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 24 October 2006 - 07:51 PM

I coded what I thought would send html email from a website. The code actually works in Apple's mail program, Yahoo mail and gmail, but not in MS Outlook. In Outlook all the html tags are printed in the email. In the other email all the html tags are handled properly. Is it my code or is it another instance of MS doing its own thing?

$headers = "MIME-Version: 1.0\r\n"; #html hdr
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From: $email \r\n"; #from

$notice = "<font size=\"36\"><b>YOU'VE BEEN DISSED</b></font><br />";
$notice .= "<i>You were dissed at <a href = \"http://dissem.com\" target = _blank>DISSEM.COM</a> on the date $today.</i><br /><br /> ";
$notice .= "$name has posted a message for the world to read, saying about you: $comments. <br /><br />";
$notice .= "Visit <a href = \"http://dissem.com/male_slap.php\" target = _blank>THIS PAGE</a> to see the result.";
mail($email,"You've been dissed",stripslashes($notice),$headers);

#2 ksteuber

  • Members
  • PipPipPip
  • Advanced Member
  • 32 posts
  • LocationCalifornia, USA

Posted 25 October 2006 - 07:20 PM

Check this out, see if it helps:


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users