In PHP, I'm trying to send emails in HTML format. So far I have this
$subject = "Password Reminder";
$message = "Your password is <b>{$password}</b>.<br/><br/><br/><br/>me";
$message = wordwrap($message, 70, "\r\n");
$headers = 'From: me@gmail.com' . '\r\n' .
'Reply-To: me@gmail.com' . '\r\n' .
'X-Mailer: PHP/' . phpversion() . '\r\n' .
'MIME-Version: 1.0\r\n' . '\r\n' .
'Content-Type: text/html; charset=ISO-8859-1\r\n';
mail($email, $subject, $message, $headers);
I followed this guide: http://css-tricks.com/sending-nice-html-email-with-php/
But when I get the email, it shows with the tags, I want it to interpret the tags into html.
Does anyone know whats wrong?
Thanks.