My contact form is not sending email. Please help!?
I am new to the whole php thing. I recently created a contact form following a few tutorials. I followed them and did exactly as the presenter told me to do. When I test the form, I get the success confirmation, but the actual email from is not sent to the webmaster specified. Can someone take a look at my code and let me know where I went wrong?
Email: $email
First Name: $fname
Last Name: $lname
Interest: $interest
Comments: $comments
Newsletter: $newsletter
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 Ask a Designer Confirmation Page