Hi there I have the following code:
and the email I am getting is in text format;
Am I missing something here? My mail agent is POSTFIX.
Thanks!
Code:
// send email to notify non-existing link
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= "From: mail title <blah@domain.com>";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$subject= "email subject";
$message="blah"
mail("toemail@domain.com", $subject, $message, $headers);
and the email I am getting is in text format;
Am I missing something here? My mail agent is POSTFIX.
Thanks!