Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 19th, 2006, 10:02 AM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default How 2 Send Email When Submit Clicked

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.
 
Old April 19th, 2006, 12:25 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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
 
Old April 20th, 2006, 11:25 AM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

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.
 
Old April 20th, 2006, 11:35 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Quote:
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?
 
Old April 21st, 2006, 11:55 AM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

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.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Send email & submit to DB at same time brettdalldorf ASP.NET 1.0 and 1.1 Basics 2 July 2nd, 2005 08:49 AM
Dreamweaver submit form to an email grfx Dreamweaver (all versions) 3 January 15th, 2005 05:37 AM
How to send form data without pressing SUBMIT eapsokha Classic ASP Professional 2 March 1st, 2004 09:58 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.