Thread: Php Email
View Single Post
  #4  
Old 6th Jan 04, 08:14 PM
SlickVic78's Avatar
SlickVic78 SlickVic78 is offline
Senior Member
 
Join Date: Sep 2001
Location: New York, USA
Posts: 515
SlickVic78 is an unknown quantity at this point
Hey *MO*,

In order for your emails to be sent in HTML form, rather than plain text, you need to send the content-type through within the header. If you don't specify a content-type, it defaults to plain text.

Quote:

$headers .= "--$boundary\r\n"."Content-Type: text/html; charset=ISO-8859-1\r\n";
That should allow the user who receives your email to see the link in proper form, and not all the code.

Hope this helps,
-SlickVic78
__________________
  • Pentium 4 3.20GHz Processor
  • 1 Gig DDR 400MHz RAM
  • 100 Gig 7200 RPM Western Digital HDD
  • 80 Gig 7200 RPM Western Digital HDD
  • Lite-On LTR-52327S CD-RW Burner
  • Lite-On SOHW-1633S DVD Burner
  • ATI Radeon 9700 Pro
  • Sound Blaster Audigy
  • Microsoft Windows XP Pro SP-2
Reply With Quote