email from form

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

    • Apr 2008
    • 17

    email from form

    My form seems to work, goes to thank you page after submission but I never receive the test email. Any suggestions? Can it be any email or does it have to be email I set up on the BV server?

    Thanks
  • Watdaflip
    Major General

    • Sep 2005
    • 2116

    #2
    Re: cannot receive email from form

    Any email should work, are you sure your thank you page has the proper php code on it, and have you checked you spam box on your email, it could be getting put there.

    Register/Login Script
    Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

    Comment

    • sgcrazy
      Corporal

      • Apr 2008
      • 17

      #3
      Re: email from form

      Here is the code (the part I was to change) I copied and pasted just as the tutorial said:

      <?PHP
      $mailto = "sales@bulktvforbusiness.com";
      $email = $HTTP_POST_VARS['email'];
      if ($email == "") {
      $email = $mailto;
      }
      $mailsubj = "quote request";
      $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);

      nothing in junk mail.

      Comment

      • navaldesign
        General & Forum Moderator

        • Oct 2005
        • 12080

        #4
        Re: email from form

        Yahoo, comcast and AOL email addresses have problems at times (because the ISP's block the mails). Use an email address within your own domain, or a gmail address, for testing purposes.

        Your script is incomplete (the closing tag is missing. You should be seeing an error message though.
        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

        • sgcrazy
          Corporal

          • Apr 2008
          • 17

          #5
          Re: email from form

          The tag is there, I just missed it when I copied/pasted into the forum. I am using the email on this server now, still same result.

          Comment

          Working...
          X