This is how I send "html" email:
$msg = "<body>";
$msg .= "<table border=0><tr><td align=center>Sample text, or messages go here<br></td></tr>
<tr><td align=center><a href=mailto:$email>$email</a></td></tr>
<tr><td align=center>Thank you for choosing us</td></tr></table>
<br><br><br></body>";
$to = "$email";
$subject = "Subject";
$mailheaders = "Content-Type: text/html; charset=iso-8859-1 \r\n";
$mailheaders .= "From: $your_email\r\n";
$mailheaders .= "Reply-To: $your_email";
@mail($to, $subject, $msg, $mailheaders);
Josh wrote:
This is how I send "html" email:
$bill_msg = "<body>
$bill_msg .= "<table border=0><tr><td align=center>Sample text, or messages go here</td></tr>
<tr><td align=center><a href=mailto:$email>$email</a></td></tr>
<tr><td align=center>Thank you for choosing us</td></tr></table>
</body>";
$to = "$email";
$subject = "Subject";
$mailheaders = "Content-Type: text/html; charset=iso-8859-1 \r\n";
$mailheaders .= "From: $your_email\r\n";
$mailheaders .= "Reply-To: $your_email";
@mail($to, $subject, $msg, $mailheaders);