Forum Moderators: coopster
The script I am using at the moment is as follows:
<?php
// Send E-Mail
$my_name = "Dave";
$my_email = "me@domain.com";
$to_name = "Dave";
$to_email = "myaddress@hotmail.com";
$subject = "Hello!";
$message = "testing!";
$mailheaders = "From: $my_name <$my_email>\n";
$mailheaders .= "MIME-Version: 1.0\r\n";
$mailheaders .= "Content-Type: text/html; charset=iso-8859-1";
mail("$to_name <$to_email>", "$subject", "$message", "$mailheaders");
?>
Muchly appreciated.
Dave.