Please help:
My php script for a feedback form is finally working on my website through Go Daddy.
Users can type in info, hit send and are redirected to a thank you page.
The problem is, I’m still not getting the emails through Go Daddy. All of my settings with gd seem to be correct.
Any help with this would be greatly appreciated.
Quite the beginner with php but a fast learner
I have included the script for my form.
<?php /* subject and email variables */ $emailSubject = "Contact Form"; $webMaster = "relay-hosting.secureserver.net"; ini_set('smtp', 'www.1215photo.com'); /* Gathering Data Variables */ $NameField = $_POST['name']; $EmailField = $_POST['email']; $PhoneField = $_POST['phone']; $ArchivalField = $_POST['archival']; $EventPhotographyField = $_POST['eventphotography']; $PostProductionField = $_POST['postproduction']; $OrderPrintsField = $_POST['orderprints']; $AdditionalCommentsField = $_POST['additionalcomments']; $body = <<<EODName: $name
Email: $email
Phone: $phone
Archival: $archival
Event Photography: $event photography
Post Production: $post production
Order Prints: $order prints
Additional Comments: $additional comments
EOD; $headers = "From: $email\r\n"; $headers .= "Content-type: text/html\r\n"; $success = "email ($emailSubject, $webMaster, $body, $headers)"; /* Results rendered as HTML */ $theResults = <<<EOD #conash3D0 { display:none; } thankyou
THANK
YOU FOR YOUR INTEREST!
YOUR MESSAGE WAS SENT!
COPYRIGHT 2011 1215 PHOTO ALL RIGHTS RESERVED
EOD; echo "$theResults"; ?>