email form help

Let me start by saying I am not a code person, I watched a tutorial on how to write the php script I am using…

I have three forms, contact, add to email and a large registration form. All three worked perfectly when i was testing on my personal website which is hosted by godaddy.

When I uploaded the to the customers site (hosted by Acenet) everything seems to work fine, EXCEPT when the email gets to me, it had the headers but no answers. I do not know enough about php to know why this is not working and am hoping someone can help me.

The simplest form just asks for someones name and email. When I get the email it just says
Email:
Name:

Here is the code (includes the loading of an html thank you page)

THANKS!!!
++++++++++++++++++++++++

<?php /*Subject and Email Variables*/ $emailSubject = 'please add me to your list'; $webMaster = '[email protected]'; /* Gathering data*/ $emailField = $_POST['Name']; $emailField = $_POST['email']; $body = <<<EOD


Email: $email
Name: $Name
EOD; $headers = "From: $email\r\n"; $headers .= "Content-type: text/html\r\n"; $success = mail($webMaster, $emailSubject, $body, $headers); /*results rendered as html*/ $theResults = <<<EOD Email thanks body { background-color:#ffffff; } span.menu59Font1 { color:#ffffff; font-size:13px; font-family:"Gill Sans MT", sans serif; align:center; text-align:center; line-height:100%; vertical-align:top;} span.menu59Font2 { color:#ffffff; font-size:13px; font-family:"Gill Sans MT", sans serif; align:center; text-align:left; line-height:100%; vertical-align:top;} span.text1147Font1 { font-size:19px; font-family:"Arial Rounded MT Bold", sans serif; color:#03244d;} span.text1147Font2 { font-size:12px; font-family:"Verdana", sans serif; color:#010101;}

Thanks for joining our email list!

EOD; echo "$theResults"; ?>
Sponsor our Newsletter | Privacy Policy | Terms of Service