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

I know how to make a form. I want to know how to make one where the information gets sent to either my e-mail or to an asp page. And how do I set up my asp page to view the sent info.

2006-11-13 09:28:11 · 2 answers · asked by jadeaaustin 4 in Computers & Internet Programming & Design

2 answers

Sounds like you're programming in ASP, which will require some server-side logic to collect the form data and send it to an email address. As mentioned in the first answer, I would recommend using the form method="post" to store the form data in session. This way you can easily retrieve the submitted data and send it in a formatted email. This is a simple explanation and you should rely on a practical example of how to do this, including sample code. Check out http://www.asp101.com/ for real world examples. Of course, if you are planning to submit the form data via email, you will need an SMTP server to handle the outgoing email. This will depend on where you are developing and where you plan to host your form. Most likely, your hosting company will have an SMTP server already set-up so consult with them. For local development, check out the following:
http://www.vbulletin.com/forum/showthread.php?t=36060

2006-11-13 10:19:16 · answer #1 · answered by nljth123 3 · 0 0

I don't know ASP very well, but to pass data from a form to another page, use the form's Method and Action properties.

Method is either GET, which passes the data through the url, or POST, which passes the data behind the scenes.

Action is the page you want the data sent to.

Ex.



Hope that helps a little.

2006-11-13 17:55:33 · answer #2 · answered by djjjjs2000 2 · 0 0

fedest.com, questions and answers