I have recently implemented php to process a form for a client. I have tested the form and have received the e-mail and have also tested it on multiple email accounts. However, when the email is changed to the clients email account (aol user) he is not receiving the emails. He has checked his spam account and nothing is there.
Is there something I am missing specific to aol. Here is the code below. I have taken out the specific email address for privacy issues but it is correct on my page.
<?
$sendto="client@aol.com";
$emailsubject="Response from the feedback form.";
if ($submit) {
if ($visitorName <= "");
else if ($visitorAddr <= "");
else if ($visitorPhone <= "");
else if ($visitorCell <= "");
else if ($visitorEmail <= "");
else if ($comments <= "");
else {
mail("$sendto",
"$emailsubject",
"\r\nName: $visitorName\r\nAddress: $visitorAddr\r\nPhone: $visitorPhone\r\nCell: $visitorCell\r\nEmail: $visitorEmail\r\nComments: $comments",
"From: $visitorName <$visitorEmail>");
die();
}
}
?>