Forum Moderators: open
Are they any tutorials out there explaining a solution which an ASP newbie would understand? or is there any ready made code out there which does this, which i could learn from?
Hope someone can help
Googly
Theres some useful stuff on this on 4guysfromrolla:
[4guysfromrolla.com...]
Hope the URL-drop is ok. If not sticky me and I'll send you the link.
You'll want to have a separate page process the submisison of the ASP page. In there, you can use one of many email mechanisms (I've used Jmail, but it depends on your host company).
You will need to learn about the request object and how it is used for retrieving the values entered in the fields of the submitting page.
You will also want to know about response.redirect for sending them elsewhere. The BIG snafu with redirect is that you must make sure that not even 1 character be sent back to the browser before executing that instruction ... not even the first opening angle bracket before html.
Ray
The BIG snafu with redirect is that you must make sure that not even 1 character be sent back to the browser before executing that instruction ... not even the first opening angle bracket before html.
fyi, Response.Buffer=True will help with this, and it can be a good idea anyway. At some point (ASP 3.0 or IIS 5.0?) the default was changed from false to true.