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

I created a html based website and now i need to know how do i link the submit button in my form to my e-mail.does it require html?pls give.

2007-01-20 16:36:53 · 2 answers · asked by Anonymous in Computers & Internet Internet

2 answers

Well here your question is not clear but I got two meanings from it. So I explain both of them.

If you simply means that when user presses the submit button,a new mail window appears where in the 'To' field, it's your e-mail id, then use this code



But if you mean that the data from the form is collected and sent to your e-mail id, then there are two ways:

1.Either use Frontpage server extensions (applicable only if you use frontpage to design you webpage or website)
In frontpage, right-click the form and click 'Form properties'. You will get it there. It's not labelled as Frontpage server extensions but that will give you options to link the form with you email id.

2. Use PHP programming. There is a simple function called mail(). It's structure is as:

mail($to,$subject,$message,$headers)
where $headers must have this:
"From: $from\n\r"

Variables $to,$subject,$message,$headers and $from can be set by posting your form variables to the php page containing the above script.



But you will have to see that your webserver supports PHP. For testing on your PC, you can use Apache webserver which is free.

2007-01-28 15:48:12 · answer #1 · answered by helpingspirits1 2 · 0 0

all i know is


linkname" value="Submit">

or

linkname

2007-01-28 12:05:16 · answer #2 · answered by ema(m 2 · 0 0

fedest.com, questions and answers