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

How do I insert a form in my website, in which when the person enters their email address, and name, and clicks 'submit', the information gets sent directly to my email address, into my inbox?







,this is what i did ---->

Sign In, Please...


ACTION="mailto:my-email@yahoo.com">

Please enter your name:



and your e-mail address:















I know that the 'mailto' part keeps openign outlook express to send emails, is there any way i can have their name and address directly sent to my email when they click submit?


help greatly aprreciated

2006-11-30 15:37:24 · 5 answers · asked by dudewtf? 2 in Computers & Internet Programming & Design

5 answers

In your

tag, use:



Keep in mind, many browsers will prevent active scripts such as this from working.

You should use a mail gateway, as previously suggested; most Web hosts have them preinstalled and will give you documentation.

2006-11-30 15:43:08 · answer #1 · answered by Anonymous · 0 0

The only way you can have it sent directly is find out if your web host has a "mailer" script you can call directly. Then you don't have to use mailto.

2006-11-30 23:40:56 · answer #2 · answered by Kasey C 7 · 0 0

You need to have an external script that extracts variables from the HTML form, processes them, and send them to your email. You may need to have your own SMTP server to do the email sending.

2006-12-01 01:05:45 · answer #3 · answered by ¥ï$hãñG 2 · 0 0

You need to have a CGI script on your server (usually found on every host, you just need to know the path and filename) to handle this.

2006-12-01 00:19:34 · answer #4 · answered by Anonymous · 0 0

You can do, but not with the HTML, U have to use any serverside scripting languages like...

ASP
JSP
PHP
ASP.NET

Try it out...

2006-11-30 23:49:10 · answer #5 · answered by nataraajc 2 · 0 0

fedest.com, questions and answers