Subject: How 2 Send Email When Submit Clicked
Posted By: BrianWren Post Date: 4/19/2006 10:02:40 AM
I want to create a web page which, when a variety of controls are filled in and the submit button is clicked, will send me an email.

I want to let users submit a request to add a new user to our system—a task which involves a lot of particulars—but I don’t want them to actually have the horsepower to add a user.  Instead, I want to receive an email requesting adding a user, with all the pertinent data they entered into the web page sent to me in the email.

I would dearly love to do this as an .htm, but am willing to do it as an .asp.  If that is not doable, I would be willing to do this with a WebClass, though that would be my last choice.
Reply By: Imar Reply Date: 4/19/2006 12:25:14 PM
When you say .asp, do you mean classic ASP, or ASP.NET? In the latter case, what version?

There's a big difference in the way you can send e-mails on these various platforms....

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Reply By: BrianWren Reply Date: 4/20/2006 11:25:38 AM
If I had meant .NET, I would have been sure to add .aspx...
I'm wondering how to create a page with the extension .asp that will take the values in the page's controls, and creat a not-complex email out of it.

I am actually using .NET at the moment to creat a Web Application to do this, but I would like to know if there is a less robust way to do this with an .asp.
Reply By: Imar Reply Date: 4/20/2006 11:35:04 AM
quote:
If I had meant .NET, I would have been sure to add .aspx...

Right, but then you should have chosen a classic ASP forum as well; this one is for ASP.NET 1.x..... ;-)

Anyway, for a classic ASP solution, check here:

http://imar.spaanjaars.com/QuickDocId.aspx?QUICKDOC=249

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
While typing this post, I was listening to: Spitfire by The Prodigy (Track 1 from the album: Always Outnumbered Never Outgunned) What's This?
Reply By: BrianWren Reply Date: 4/21/2006 11:55:35 AM
You’re right;  I was in a hurry and failed to note that the forum title includes ".NET."

I now see where my intent was unclear.  Sorry ’bout that...

I'll have a look at the link, thanks.

Go to topic 43164

Return to index page 307
Return to index page 306
Return to index page 305
Return to index page 304
Return to index page 303
Return to index page 302
Return to index page 301
Return to index page 300
Return to index page 299
Return to index page 298