PHP contact form problems
ok so i think i have the codeing correct but im having trouble actually getting an email to the specified account.
i have tested it with another account which uses hotmail and it works fine but when i change the email address to one on the Gmail servers it doesnt actually get there. if your asking if i have spelt the email address, yes i have and i have checked many times. please help to figure out what to do as i am completely lost.
<?php
/* subject and email variables */
$emailSubject = 'Contact Form From Rapid Action Website';
$webMaster = 'info@rapidaction.com.au';
$Email = $_POST['Email'];
$Name = $_POST['Name'];
$Phone = $_POST['Phone'];
$Event = $_POST['Event'];
$Comments = $_POST['Comments'];
$body = <<<EOD
<br><hr><br>
Email: $Email <br>
Name: $Name <br>
Phone: $Phone <br>
Type of Event: $Event <br>
Comments: $Comments <br>
EOD;
$headers = "From: $Email\r\n";
$headers .= "Content-type: text/html\r\n";
$success = mail($webMaster, $emailSubject, $body, $headers);
$theResults = <<<EOD
EOD;
echo "$theResults";
?>
|