mail function
| From: | Peter | Date: | Fri, 21 Dec 2001 06:08:55 +0000 |
| Subject: | mail function | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-78420@lists.php.net to get a copy of this message | ||
Hi,
Can someone tell me if there is something wrong with the order of the mail
function in here.
I am trying to get the text in HTML format, but I am not getting the text
in html format.
else
{
$mailheaders = "From: $email\r\n";
$mailheaders .= "Reply-To: $email\r\n";
$mailheaders .= "Content-Type: text/html; charset=iso-8859-1\r\n";
$remarks .= "<br><br>$items";
mail("yungp@netvigator.com", "quotation enquiry", $remarks, $mailheaders);
header("Location: http://www.winwhole.com.hk/sent.php");}
};
Thanks.
Peter