I have watched the tutorials multiple times. I put the php script in the action page. My contact page comes up on the web, and when I email myself it shows the thankyou page. but I never recieve the email in my mailboxes. there is no error messages or returned as undelivered, where is my email going to? my site is www.whodaddy.net I'm tying to receive the emails through outlook express. I've configured my account through the cpanel and in outlook express also. please help
Form Replies
Collapse
X
-
Re: Form Replies
<?
mail = $HTTP_POST_VARS[email];
$mailto = "geneezell@whodaddy.net";
$mailsubj = "thankyou";
$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);
?>
Comment
-
-
Re: Form Replies
Is that the whole Script that you are using ??
you seem to be missing this part:
<?PHP
// Receiving variables
$name = addslashes($_POST['Name']);
$email = addslashes($_POST['Email']);
$comments = addslashes($_POST['Comments']);
The above reads and stores your field values so that they can then be sent by email............
Please note that the above is NOT a complete Script...............
Comment
-
-
Re: Form Replies
Your script is ok, exception made for the <? missing at the very begining. You only need the email field definition, and this already exists in your script. However, if the field in your form is called "E-mail", and in the script it is "email" (as you have posted above), there is a pretty good possibility that you are NOT receiving the email because the script can't see the visitor's email, and it doesn't included it in the headers( invisible to you), so your mail is blocked by your ISP. Edit your form filed to name it "email" all lowercase characters and try it.
Please note that as stated in the tutorial, this is a very basic script, with no further features or security measures. For a more advanced script, you can install and use Advanced BlueVoda Form ProcessorNavaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!
Comment
-
Comment