|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
I am looking for some help in setting up a form which will be emailed via an SMTP server. any Help is appreciated.
|
|
#2
|
|||
|
|||
|
Easiest way is
<form method=post action="mailto:name@address.com"> What is your favourite color? <input type=text name=color> <p> <input type=submit name=mailForm value="Mail Your Color"> </form> This will mail you the content of the input fields. While rather easy, the mail will be something like "color: <What user typed in>" If you want custom made mail content, you will have to use a scripting language like ASP or PHP. If the structure of the mail doesn't matter, but you want to check certain fields before sending you the mail, you can use JavaScript to validate the form first. |
|
#3
|
||||
|
||||
|
Geez! I was Waaaaaaayyyy over thinking that one. Thanks for your help.
|
|
#4
|
||||
|
||||
|
To avoid spamming of the address in the mailto:, consider using a ASP, PHP, Perl, or CGI form for sending emails. You can format the email being sent that way too. What kind of langauges and mail components are supported on your server? Does it support ASP and CDONTS?
__________________
If you found a post of mine helpful, please click on the on my post to add to my reputation.
|
![]() |
| Viewing: ASP Free Forums > Programming > HTML, JavaScript And CSS Help > Need to email form |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|