Everyone says the below should send html email.. but its not... it sends the html as plain text, I've tried editing/removing/adding.. can't get it to do anything but give me a whole bunch of header info I don't want.
Please help
Tony
Please help
Tony
Code:
<?php
$to = "thicks@wisernet.com\r\n";
$subject = "Testing";
$fc=implode("",file("[URL unfurl="true"]http://www.sierratimes.com/sendalert.txt"));[/URL]
// $fc=strip_tags($fc);
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
mail("$to", "$subject", "<b>$fc</B>", $headers);
echo($fc)
?>