No info in emails

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

    • Nov 2006
    • 1

    No info in emails

    Hi ppl,

    Can someone help out please, I have put a form on my site which seems to work fine in so that when you fill it in and hit submit it then brings up thank you page but when i check emails all i get is "Values submitted from web site form :" I can see where that is in the html but can't seem to figure out exactly what it is I should have in there.

    Thank you

    Ann Fitz

  • navaldesign
    General & Forum Moderator

    • Oct 2005
    • 12080

    #2
    Re: No info in emails

    You don't recieve anything because your form Encoding Type is set to text/plain. Set it to multipart / form data.

    However, your fields are unnamed: they have the default names "Editbox1", "Editbox2" etc. Edit them, name them correctly (Durayion, Quantity etc). Remember: the email address field MUST be named "email" all lowercase chrs.
    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

    • Persephone
      Sergeant

      • Dec 2007
      • 20

      #3
      Re: No info in emails

      i am having the same problem! the encoding type is set to multipart / form data but still not workng.. Help!

      Comment

      • Andy128
        Major General

        • Dec 2005
        • 2317

        #4
        Re: No info in emails

        persephone-

        Please post your url so we can check it and also- copy paste your php script too.

        Andy
        PHP- is a blast!

        Comment

        • Persephone
          Sergeant

          • Dec 2007
          • 20

          #5
          Re: No info in emails

          my url is http://pencilslayer.com/Commissions.html but what u mean php script ?!

          Comment

          • Andy128
            Major General

            • Dec 2005
            • 2317

            #6
            Re: No info in emails

            The script that you copied and pasted into the page html section. This is what processes the form and sends the e-mail.

            Andy
            PHP- is a blast!

            Comment

            • Persephone
              Sergeant

              • Dec 2007
              • 20

              #7
              Re: No info in emails

              <?PHP
              $mailto = "pencilslayer@digital-artist.org";
              $email = $HTTP_POST_VARS['email'];
              if ($email == "") {
              $email = $mailto;
              }
              $mailsubj = "Commission";
              $mailhead = "From: $email\n";
              reset ($HTTP_POST_VARS);
              $mailbody = "Commission Details :\n";
              while (list ($key, $val) = each ($HTTP_POST_VARS))
              {
              if ($key!="submit")
              {
              $mailbody .= "$key : $val\n";
              }
              }
              mail($mailto, $mailsubj, $mailbody, $mailhead);
              ?>

              Comment

              • Persephone
                Sergeant

                • Dec 2007
                • 20

                #8
                Re: No info in emails

                this goes on my thank you page.. yes? i am able to recieve the email. but with no info...

                Comment

                • Andy128
                  Major General

                  • Dec 2005
                  • 2317

                  #9
                  Re: No info in emails

                  Change your text -Request- to a submit button. You can name the submit button -Request -.

                  Andy
                  PHP- is a blast!

                  Comment

                  • Persephone
                    Sergeant

                    • Dec 2007
                    • 20

                    #10
                    Re: No info in emails

                    ok thanks ! problen reolved =P

                    Comment

                    • Persephone
                      Sergeant

                      • Dec 2007
                      • 20

                      #11
                      Re: No info in emails

                      Can you help me with my guestbook... im unable to delete some messages !!!

                      Comment

                      • Andy128
                        Major General

                        • Dec 2005
                        • 2317

                        #12
                        Re: No info in emails

                        Love to- but I know next to nothing about Guestbooks. Sorry.

                        I stopped messing with them as they were more trouble than fun.

                        Talk to you later.

                        Andy
                        PHP- is a blast!

                        Comment

                        Working...
                        X