Forum Moderators: coopster
I have checked the headers and I cant see anything wrong.
Is the following OK? if not, what have I done wrong.
<?php
$from = “me@myemailaddress.com”;
$to = “someone@anothieremailaddress.com”;
$subject = “My subject”;
$headers = "MIME-Version: 1.0\n";
$headers .= "From: $from\n";
$headers .= "Return-Path: $from\n";
$headers .= "Content-Type: text/html; charset=ISO-8859-1\n";
$message = “
<html>
<body>
<p>Hi, This is my message.</p>
</body>
</html>
“;
mail($to, $subject, $message, $headers);
?>
Thanks…