Results 1 to 6 of 6

Thread: Form Replies
      
   

  1. #1
    whodaddy is offline Corporal
    Join Date
    Feb 2007
    Location
    buna texas
    Posts
    10

    Exclamation Form Replies

    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

  2. #2
    Join Date
    Mar 2006
    Location
    Mallorca, Spain
    Posts
    6,313

    Default Re: Form Replies

    If you change the email field name to just
    email
    it should work, as the script is looking for that exact name.......(you have named it E-mail)

    post your action script here, so that we can check.

  3. #3
    whodaddy is offline Corporal
    Join Date
    Feb 2007
    Location
    buna texas
    Posts
    10

    Default 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);
    ?>

  4. #4
    Join Date
    Mar 2006
    Location
    Mallorca, Spain
    Posts
    6,313

    Default 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...............

  5. #5
    whodaddy is offline Corporal
    Join Date
    Feb 2007
    Location
    buna texas
    Posts
    10

    Default Re: Form Replies

    I don't see that part in the form tutorial where it says to copy and paste the script. where is that script located at

  6. #6
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default 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 Processor
    Navaldesign
    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!


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49