I am trying to add some design to contents which are in between <<<EOD ......EOD; php script.
following is my code :
$emailSubject='Subject Goes Here';
How did you hear about us: $hear1
Type of Photography:$type1
Number of Guests:$guest1
Date Of Wedding:$mdate1
$headers = 'MIME-Version: 1.0' . "\\r\
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\\r\
//$headers .= 'Bcc: other-email-addresses' . "\\r\
$headers = "From: $email1";
$success = mail($to,$emailSubject,$body,$headers);
//$success = mail($to1,$emailSubject,$body,$headers);
//$success = mail($to2,$emailSubject,$body,$headers);
this script will send an email, I want this email to be designed more than just plain text..
Can Anyone help Please?
Many Thanks In Advance
I'm not sure what you're asking, but if you're asking how to code it, you can look at this article.
It's an older SP article, but a lot of it is still true....http://www.sitepoint.com/code-html-email-newsletters/
This topic is now closed. New replies are no longer allowed.