| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Right now I have created asp pages that post to a database.
Frontpage does not allow you to do both. Do you know where, I could place code to notify me that an entry/submission has been sent to the database from the asp page? |
|
#2
|
||||
|
||||
|
You can do both on one page. In broad terms this is how I might code it:
Call SaveRec() Call EmailRec() And SaveRec() and EmailRec() would be two custom functions that would save the record to the database and would send e-mail. And http://www.asp101.com/samples has some good e-mail examples such as the e-mail attachment example which uses the newer CDO (instead of the deprecated CDONTS which no longer ships with Windows).
__________________
J. Paul Schmidt www.Bullschmidt.com - Freelance Web and Database Developer www.Bullschmidt.com/DevTip.asp - Classic ASP Design Tips |
![]() |
| Viewing: ASP Free Forums > Programming > Code Bank > Frontpage" Send Form Results to Database and Email |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|