Im wondering why when i recieve the mail from this script it does not format the html tags when the html charset is already set.
[php]
$person = $_POST[‘email’];
$submit = $_POST[‘submit’];
if($submit) {
//// EMAIL SCRIPT
ini_set(“sendmail_from”, “$dbusername <$dbusername>”);
$message = "
$dbusername has sent you a request for Site!
Please follow the hyperlink below to fill out your new rental home application.
Click Here for Application!
";
$mailsubject = "Application Request from Site!";
$headers = "From: Site! <$dbusername>\r\n";
$headers .= 'MIME-Version: 1.0' . "\n";
$headers .= 'Content-type: text/html; charset=utf-8' . "\r\n";
$sendmail = mail($person,$mailsubject,$message,$headers);
//echo "
mail() returned: " . ($sendmail? “TRUE” : “FALSE”) . “
”;
// echo “$property – $service — $extra – $pay --$mainemail”;
printf(“”);
}
[/php]