English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories
1

I was wondering if anyone could give me the code to a short simple html form.....but when u click submit it emails the form to my email with out opening any outlook or some other program.....like if i was going to post it on a server but instead it is emailed to me....any help would be appricated

2006-11-20 16:17:45 · 3 answers · asked by J-Jay 1 in Computers & Internet Programming & Design

3 answers

Unfortunately there's no HTML for emailing a form without opening a mailing program like OUTLOOK.

The best thing is to use a remotely hosted form mailing service. I recommend http://formmail.liscripts.net/. I personally use this service and it's reliable.

You don't need to signup for the FREE version.

Simply paste this in the beginning of the form



And this before the code for the SUBMIT button,



Let's say your email address is xyz@yahoo.com and you want the user to be redirected to another page as soon as the SUBMIT button is clicked, that would be http://www.xyz.com/index.html . Using all the codes mentioned above, a typical form would look like this..


Name:


E-mail or homepage:











It's as simple as that. If you do not like this service, you can sign up for the PRO paid version.

Besides, there are several remotely hosted form mailing service available on the Internet. Its not necessary that you have to use this one.

And if you don't like the idea of using a remotely hosted service, you can go in for a PHP form mailing script if your web host supports PHP.

2006-11-20 16:43:16 · answer #1 · answered by Janice 3 · 1 0

there is a problem with that. neither HTML or Javascript can actualy e-mail anything they can just tell another site or rescource handeler (aka outlook) the contents of the form.
in order to have it e-mailed you'd need to get a cgi, perl or some server side script to take the form data and e-mail it. there are places you can sign up on in the internet to get access to such a script for free. bravenet.com last I checked was one place that did such.

2006-11-20 16:24:37 · answer #2 · answered by snowcloud_dreamer 2 · 0 0

Hi, the answer is to use php to handle your form. The form itself can be created using just html. I can make a php code to handle your form, email me at intrinzic_designz@yahoo.com for more information. :-)

2006-11-21 02:35:52 · answer #3 · answered by dm-dnd 3 · 0 0

fedest.com, questions and answers