HTML Mail problem while using mail()

shoaib 17 Apr, 2012
Hi,

I am using Chronoform V4. I am trying to send mail with php mail().


$to = $user->email;			

$subject = "Your Facility has been Deleted!";

$message = "Dear ".$user->name.",<br /><br />";
$message .= "Your Facility has been Deleted!<br /><br />";



$message .= "Regards,<br />";
$message .= "NUHS<br /><br /><br />";

//$message .= "NOTE: This email was automatically generated from Parents Circle (http://www.parents2.osmprojects.org).<br />";

$headers = "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type:text/html;charset=iso-8859-1" . "\r\n";
$headers .= 'From: INFO<heerashoaib@gmail.com>'."\r\n";

$mailtest = mail($to,$subject,$message,$headers); 



I am getting email without html. am getting "<br /> tags as it is.
Also the mail form address as "osmodels@firebird.websitewelcome.com"


Regards,
Shoaib.😀 😀
GreyHead 17 Apr, 2012
Hi shoaib,

I'm really sorry but if you choose not to use the ChronoForms Email action and write your own code then you have to debug it too.

Bob
shoaib 17 Apr, 2012
got struck with this. Any one there to help me.. 🙂 🙂 🙂 🙂
This topic is locked and no more replies can be posted.