Not recieving emails via form

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • heinm
    Staff Sergeant

    • Mar 2008
    • 45

    Not recieving emails via form

    I set up my form and thank you page, and they both seem to be working fine, however I am not getting an email when I test the form...here is my php code:

    <?PHP
    $mailto = "amnels02@smumn.edu";
    $email = $HTTP_POST_VARS['email'];
    if ($email == "") {
    $email = $mailto;
    }
    $mailsubj = "Questionaire Information";
    $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);
    ?>

    I posted that code right off the blue voda website, and just entered my email I wanted it sent to with a subject as well. The thank you page comes up when I hit the submit button, but no email...Help!
  • navaldesign
    General & Forum Moderator

    • Oct 2005
    • 12080

    #2
    Re: Not recieving emails via form

    The code seems correct, please post here the code of your entire thankyou (or action) page.
    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!

    Comment

    Working...
    X