Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

email notification?

Status
Not open for further replies.

GuntherKS

MIS
Nov 13, 2000
13
US
Does anyone know the script to send an email within InterDev? I wish to notify myself and a few others everytime information is entered into one of my databases via InterDev. Is there a script I can add to the submit button to email a notification of an added record?

Kevin
 
Kevin,

You cannot send email with script only. This is because sending email requires creating a socket connection to an SMTP Server. So, you need two things:

1. An SMTP Server that will process your SEND commands
2. A component (ActiveX control) or CGI process that will create the socket connection for you and send the server the email message.

The script code will vary based on the component you use. There is one provided by the Microsoft Server Option Pack. It comes in the CDONTS package. You can find sample ASP script for using it on the MSDN Disk or Online at
Good luck
-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top