faqts : Computers : Programming : Languages : JavaScript : Forms

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

10 of 12 people (83%) answered Yes
Recently 5 of 7 people (71%) answered Yes

Entry

How do I submit a form to a user-inputted e-mail address with that page's url? [imitation of "e-mail page to a friend" program]

Jan 10th, 2001 04:50
Mattias Westberg, Lisa Engelbert, http://www.worldwidemart.com/scripts/


Use a Perlscript like formmail (can 
be found at http://www.worldwidemart.com/scripts/) on the server that 
will host the form. Most webhosts give their customers access to 
formmail or other scripts similar to formmail.

Then maka a field <input type="text" name="recipent" /> where the user 
can enter the recipent email adress.