View Single Post
  #4 (permalink)  
Old Apr 30th, 2007, 11:30
grahame grahame is offline
Reputable Member
Join Date: Jul 2005
Location: Melksham, Wilts, UK
Posts: 293
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Form2Email build message with html, I need help

The "EMC" stuff was just a quick way of me putting a message together - it's cleaner that the multiline double quotes in your example IMHO - that's all.

A "quick" answer would be for you to simple add
$headers .= "Content-type: text/html\n";
just before the mail line and that should get you sorted. But there's a lot to PHP and if this stuff is all pretty new, some of the tutorials that are around should help. Learning the whole thing by "question / answer" on a forum isn't practical - though it's a darned good way of sorting out issues that arise.
Reply With Quote