www.webdeveloper.com
Results 1 to 7 of 7

Thread: Emailing a Form

  1. #1
    Join Date
    Jan 2003
    Posts
    1

    Emailing a Form

    Using HTML, is it possible to email a form where the email is the form itself, with all entered information intact?

    I've created an HTML form that will reside on a person's computer. After entering any/all information, the person clicks a button and the information will be emailed - as an attachment - to the appropriate destination(s).

    I'm looking for code that will, upon clicking the same button, email the form itself - with all information - to the appropriate destination(s)...not as an attachment, but as the message itself.

  2. #2
    Join Date
    Dec 2002
    Location
    Calgary, Canada
    Posts
    2,653
    <form action="mailto:youremailaddress@email.com" enctype="plain/text">

    this will take care of it

    cheers

    Khalid

  3. #3
    Join Date
    Nov 2002
    Posts
    411
    what you'd really like is a script (you can probably get one from matts script archive or your hoster can provide one) that doesnt rely on the users mail program. that's what most people will use as it does it all in the background...
    John

  4. #4
    Join Date
    Nov 2002
    Location
    NY, USA
    Posts
    731
    jpmoriarty
    get one from matts script archive
    Please do not recommend Matt's scripts. Even Matt no longer recommends his scripts.
    Security Focus put MSA FormMail attacks third in their list of the Top Attacks for the 1st Quarter of 2002.
    for(split(//,'))*))91:+9.*4:1A1+9,1))2*:..)))2*:31.-1)4131)1))2*:3)"'))
    {for(ord){$i+=$_&7;grep(vec($s,$i++,1)=1,1..($_>>3)-4);}}print"$s\n";

  5. #5
    Join Date
    Nov 2002
    Posts
    411
    ooops - i stand corrected then. Why is his page still there then? THat's a rhetorical one - dont give me a barrage of answers. I'll remember that in the future.
    John

  6. #6
    Join Date
    Jan 2003
    Posts
    7

    Use more sercure form email method

    To me its not recomended to use
    <form action="mailto:youremailaddress@email.com" enctype="plain/text">

    comand to email a form, not that its not secure, sometime it will generate the code in differnet format thats unreadable to email.

    i really recommend use of cgi
    its more secure and understandable reading of the form information.
    Mess with the best, Die like the Rest

  7. #7
    Join Date
    Nov 2002
    Location
    NY, USA
    Posts
    731
    leonheart
    sometime it will generate the code in differnet format thats unreadable to email
    It really doesn't generate any code at all. It relies on the user's own e-mail client to compose and send the form data.

    leonheart
    i really recommend use of cgi
    its more secure and understandable reading of the form information
    CGI is the better choice, but is not necessarily more secure. It is only more secure if the form data you submit and the e-mails you send are encrypted.
    for(split(//,'))*))91:+9.*4:1A1+9,1))2*:..)))2*:31.-1)4131)1))2*:3)"'))
    {for(ord){$i+=$_&7;grep(vec($s,$i++,1)=1,1..($_>>3)-4);}}print"$s\n";

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles