Announcement

Collapse
No announcement yet.

Forms work but email doesn't send

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Forms work but email doesn't send

    Hello anyone...
    I have set a contact form on my committee page. Everything seems to work fine but the email doesn't come to my test email address. I have set up my own hotmail address just as a test. My email is dwyer.1961********.com. This is the script that I added to the beginning of a body on my thank you page. Any help with this would be much appreciated. Thank You in advance. Do I have to do anything with the brgc.biz email ?

    Kevin
    www.brgc.biz

    <?PHP
    $mailto = "dwyer.1961********.com";
    $email = $HTTP_POST_VARS[email];
    if ($email == "") {
    $email = $mailto;
    }
    $mailsubj = "Contact Please";
    $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);
    ?>
    Kevin Dwyer
    dwyer.1961********.com
    www.brgc.biz

  • #2
    Re: Forms work but email doesn't send

    Your script seems correct. Try changing your email address to something else, than dwyer.1961@...... and test it. Also check your spam/junk folder. Hotmail in many cases blocks emails.
    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


    • #3
      Re: Forms work but email doesn't send

      Thanks again Naval...
      It sends to other email with no problems
      Kevin Dwyer
      dwyer.1961********.com
      www.brgc.biz

      Comment

      Working...
      X