I just went through the video tutorial on setting up a standard email response form. I gave it test run, trying to send myself a message, and have not received it. The thank you page worked. I checked my web mail, as well as, my yahoo email and nothing. I must be missing something in the php code or something in the web mail. I really didn't understand all the stuff in starting the web mail pages. I did set up redirect to my yahoo, but like I said.. nothing yet. Any advice on where to go from here.
Email Form Set-up? I'm not receiving any emails?
Collapse
X
-
Re: Email Form Set-up? I'm not receiving any emails?
Here's the script:
<?PHP
$mailto = "contact@1stclassgreetingcards.com";
$email = $HTTP_POST_VARS['email'];
if ($email == "") {
$email = $mailto;
}
$mailsubj = "Contact Form Submission";
$mailhead = "From: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site form :\n";
while (list ($key, $val) = each ($HTTP_POST_VARS))
{
if ($key!="submit")
{
$mailbody .= "$key : $val\n";
}
}
mail($mailto, $mailsubj, $mailbody, $mailhead);
?>
The url of the "contact" link on the index page is http://www.1stclassgreetingcards.com/contact.html.. If this is what you are referring to?
Thanks.
Comment
-
-
Re: Email Form Set-up? I'm not receiving any emails?
Well- the form and the php code look good. Try changing the email address that it sends the info to from contact@1stclassgreetingcards.com to your yahoo email address.
I really didn't understand all the stuff in starting the web mail pages.
AndyPHP- is a blast!
Comment
-
Comment