$headers = 'From: emailUser@myDomain.x10hosting.com' . "\r\n" .
'Reply-To: emailUser@myDomain.x10hosting.com' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
$sent = mail( 'myGmailAddress@gmail.com' ,
'Subject: PHP mail test' ,
"A test of the PHP mail() function",
$headers ) ;
if( sent ){
echo "<br />Sent .. $uid";
} else {
echo "<br />Not sent ";
}
?>c