|
 |
asp_web_howto thread: database update and email
Message #1 by Chris Yangouyian <cyangouyian@y...> on Mon, 14 May 2001 08:04:25 -0700 (PDT)
|
|
Is it possible to have a form update a database and
send an email to a specific address?
-Chris
Message #2 by "Daniel O'Dorisio" <dodorisio@h...> on Mon, 14 May 2001 11:12:37 -0400
|
|
highly possible....
submit the form to an asp page (formpost.asp)
the code for formpost.asp would be somthing like:
(pseudo code)
open the db connection
insert the data with a sql insert statement
close the db connection
open a cdonts newmail
set the to from subject and body fields
send the message
close the cdonts newmail
poof there you have it.. you might want to read up on asp ado and cdo.
daniel
-----Original Message-----
From: Chris Yangouyian [mailto:cyangouyian@y...]
Sent: Monday, May 14, 2001 11:22 AM
To: ASP Web HowTo
Subject: [asp_web_howto] database update and email
Is it possible to have a form update a database and
send an email to a specific address?
-Chris
|
|
 |