Hello,
I do as instruted in the Support Email Portion but my web can not send email. Please advise me.
$to = "xxx@giadung.unaux.com";
$subject = "HTML email test";
$message = "
HTML email
This email contains HTML Tags!
Firstname | Lastname |
---|---|
John | Doe |
";
// Always set content-type when sending HTML email
$headers = "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type:text/html;charset=UTF-8" . "\r\n";
// More headers
$headers .= 'From: xxx@giadung.unaux.com' . "\r\n";
mail($to,$subject,$message,$headers);
Comments
-
@tamnhan said:
Hello,I do as instruted in the Support Email Portion but my web can not send email. Please advise me.
$to = "xxx@giadung.unaux.com";
$subject = "HTML email test";$message = "
HTML emailThis email contains HTML Tags!
Firstname Lastname John Doe
";// Always set content-type when sending HTML email
$headers = "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type:text/html;charset=UTF-8" . "\r\n";// More headers
$headers .= 'From: xxx@giadung.unaux.com' . "\r\n";mail($to,$subject,$message,$headers);
Are you using a PHP Script for mailing stuff? If you are, go here, but if that is not what you need, I can't help you feather.