OK, I am totally baffled by this. This is my code
$sql1= "Select * from alumni where UserRef=$id";
$result1=mysql_query($sql1);
$myrow1 = mysql_fetch_array($result1);
$mail = $myrow1[email];
echo $mail;
$subject1="Wesleyan School Alumni Registration";
$message1="Your information has been recorded/updated. Your username and password are as follows:\n\n Username: $myrow1[username] \n\n Password: $myrow1[password] \n\n ";
mail($mail, $subject1, $message1, "From: $Mail");
?>
When I echo $mail in line 5 it is to test it. The email address $mail shows up on the page so I know the variable is working fine, and when the email address is hotmail or yahoo it arrives fine, but when it is company email it never arrives.
Is there something I am missing?