Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    New Coder
    Join Date
    Sep 2003
    Location
    Saskatoon, Saskatchewan
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How to submit a completed form to an e-mail address?

    All the form buttons, text boxes, select options, etc. is in place. I can send the form to my e-mail address. The completed form comes out in a single line of text, ie

    firstname=Martin
    lastname=Loudour
    address=139 Rockaberry
    option=checked

    How can I get the original form to be loaded to my e-mail address with the original form contents? As the users see it.
    cree2me

  • #2
    Regular Coder
    Join Date
    May 2003
    Location
    34° 54' N 82° 13' W
    Posts
    996
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You would have to use some kind of server-side form action most likely...

    Hope this helps....
    Stevie Peele
    Neverside IRC Network - irc.veonex.net | tc.tutorialnetwork.org
    #dev - any programming,etc. question
    #design - design discussion and critque
    #central - general chat
    Come join us!

  • #3
    Senior Coder
    Join Date
    Aug 2002
    Location
    UK
    Posts
    2,789
    Thanks
    2
    Thanked 14 Times in 14 Posts
    Did you include ENCTYPE="text/plain" in your opening form tag?


    <FORM METHOD=POST ACTION="mailto:you@youraddress" ENCTYPE="text/plain">

  • #4
    New Coder
    Join Date
    Sep 2003
    Location
    Saskatoon, Saskatchewan
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Yes, I include <FORM ENCTYPE="text/plain" ACTION="mailto:myemail@home.ca"
    METHOD="post" NAME="theform">
    cree2me

  • #5
    New Coder
    Join Date
    Oct 2003
    Location
    19° 26' N, 99° 7' W
    Posts
    53
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I have done something similar using ASPEmail to submit the form sending it in HTML format...

  • #6
    New Coder
    Join Date
    Sep 2003
    Location
    Saskatoon, Saskatchewan
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    My form is set-up in HTML format. What code do you use in ASP?
    cree2me

  • #7
    New Coder
    Join Date
    Oct 2003
    Location
    19° 26' N, 99° 7' W
    Posts
    53
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You program using Visual Basic Script. Your server must have IIS installed in order to process ASP pages. Linux won't do...

  • #8
    Regular Coder
    Join Date
    Jun 2002
    Posts
    166
    Thanks
    0
    Thanked 0 Times in 0 Posts
    enctype="multipart/form-data"


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •