ASP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming Languages - MoreASP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 4th, 2003, 02:31 PM
NDBounce NDBounce is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 3 NDBounce User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
email on submit

I am creating a page in ASP (I recently taught myself ASP so I'm no expert by any stretch of the imagination).

This page is going to put data in a database, which then an adminstrator needs to approve, and then the data will be moved to a different DB allowing it to be viewed on the web). The issue is that in all reality someone may post data once a month at most. Since I am currently the one who needs to approve the data, and I am not one who will remember to check if any data is in the DB on a regular basis, I would like to know if there is a way I can have the form send me an email everytime data is inputted in the database, this way I know I need to review and approve the data.

If there is such a way to do this, please let me know.

Peace,

Bounce!

Reply With Quote
  #2  
Old March 4th, 2003, 02:48 PM
yassoor's Avatar
yassoor yassoor is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Canada - Egypt
Posts: 60 yassoor User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 11
CDONTS or CDO Objects

If you running IIS on 2000 box check for the CDONTS.dll object or I think on XP it is replaced by CDO object.

Using a server.createObject("") you intiate a connection to the SMTP and you specify the Message subject and text and To address and the CC BCC.

There are alt of documentation on how to use those two objects on the web .. a search on google will get you alot of different resources.

I hope this is of any help.
__________________
I hope this is of any help to anyone.

Yassoor
http://www.WebsitesCreation.ca

Reply With Quote
  #3  
Old March 5th, 2003, 06:46 AM
ngibsonau ngibsonau is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 138 ngibsonau User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 11
If your not running SMTP but you can install COM objects on the webserver you should be able to find comercial or even free email sending objects. They work similar to CDONTS except you don't need to be running an SMTP server you can just select your normal email server when you call the appropriate functions. As long as that server accepts emails from you normally you can use your email address as the sender address.
But like I said your web hosting provider will have to install the email component (If they haven't installed it already. Most providers do it for free, just ask them). But if your running your own webserver just install it on the same machine as the IIS is running on.
__________________
--

ngibsonau

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreASP Programming > email on submit

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap