ASP Form - Email

Lukster's picture

They have: 64 posts

Joined: Sep 2001

Heyas,

Im having real trouble understanding / getting to work, a form-email script. Basically what i need is to have a single form text box that people enter their email address in, it sends this information on to my email address, then redirects them to a page of my choice. Any sample code that i could change around and learn from would be of a great help!

"Whenever you do a thing, act as if all the world were watching."

Online Data Backup? I'd like to see that!

He has: 1,380 posts

Joined: Feb 2002

hotscripts.com or resourceindex.com

The Webmistress's picture

She has: 5,586 posts

Joined: Feb 2001

does it have to be ASP or can it be cgi?

Peter J. Boettcher's picture

They have: 812 posts

Joined: Feb 2000

Take a look at this example: http://www.asp101.com/samples/email.asp

You should be able to modify that to suit your purposes. CDO has to be enabled on the server.

PJ | Are we there yet?
pjboettcher.com

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.