I would like to create an html file and send it as an email using PHP3.
The code is something like this:
<?php
$to = "client@myisp.net";
$subject="A message from your Webmaster";
$mailBody = "<p>We have a new feature for you. <a href=www.myisp.com>Visit</a> us again.";
$header = "From: Webmaster";
mail($to, $subject, $mailBody, $header);
?>
With this code, the html tags are showing in the email. How can I send this so it is emailed like an html page?
Thanks in advance.