In my application there is an email sending option.But the email is missing its images are missing,and the content of the mail is displayed in html tags.
this is the example code
[code=php]
$msg="<table width='800px' >
<tr><td colspan='2'><im g src='www.siteur l.com/img/head-lug-ora.jpg' /></a></td>Hi good morning</tr></table>';
$to = $recemail;
$subject = 'subject';
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From:<test@tes t.com>";
$mail_sent =mail($to,$subj ect ,$msg,$headers)
[/code]
Regards,
AMT
this is the example code
[code=php]
$msg="<table width='800px' >
<tr><td colspan='2'><im g src='www.siteur l.com/img/head-lug-ora.jpg' /></a></td>Hi good morning</tr></table>';
$to = $recemail;
$subject = 'subject';
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From:<test@tes t.com>";
$mail_sent =mail($to,$subj ect ,$msg,$headers)
[/code]
Regards,
AMT
Comment