email rafter submitting form

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • grant7
    Private First Class

    • Sep 2007
    • 5

    email rafter submitting form

    Hi all,
    Just setting up my first website

    when I hit submit it goes to my thankyou page, but I recieve no emails at all?

    Have reread everything and cannot find anything not set up correctly?
    Im not using the new email address from vodahost - just my usual one.

    Help please - I need to start taking bookings!

    Thanks
    Grant
  • navaldesign
    General & Forum Moderator

    • Oct 2005
    • 12080

    #2
    Re: No email recieved after submitting form

    There might be a number of reasons. The form is ok, so it can be either a wrong email address setup in your php script, or your ISP blocking the mail. If you have a gmail account, change the email address to be your gmail address, or you can setup an email account within your own domain, and see if you recieve the mails through CP or your Outlook Express. It would help if you could post here the php script as you have it in your action.php 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

    • grant7
      Private First Class

      • Sep 2007
      • 5

      #3
      Re: No email recieved after submitting form

      Hi - thanks for your reply.
      Heres my script in beginning of body. What does CP stand for?

      Cheers
      Grant

      <?PHP
      $mailto = "grant7@tpg.com.au";
      $email = $HTTP_POST_VARS['email'];
      if ($email == "") {
      $email = $mailto;
      }
      $mailsubj = "Bookings";
      $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

      • navaldesign
        General & Forum Moderator

        • Oct 2005
        • 12080

        #4
        Re: No email recieved after submitting form

        CP = Control Panel

        Try changing the email address to one within your domain. The script and form are correct, so it can only be a ISP blocking the email issue.
        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

        • grant7
          Private First Class

          • Sep 2007
          • 5

          #5
          Re: No email recieved after submitting form

          Hi again,

          Your right - I changed it to gmail address and it worked.
          Why would my ISP be blocking it then? Can I fix that?
          I cant really leave it as my gmail address, as I rarely check that mail - unless theres a way to redirect it all??

          Thanks for your help!
          Grant

          Comment

          • navaldesign
            General & Forum Moderator

            • Oct 2005
            • 12080

            #6
            Re: No email recieved after submitting form

            The easiest thing to do is setup an email address within your own domain, and setup your Outlook Express to recieve the mails straigh in your desktop-
            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