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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auto E-mail

Status
Not open for further replies.

zzfive03

Programmer
Jun 11, 2001
267
Hello;

Using ASP (VBScript) I have a user submit a form (which will save data to a database). But I also want the same submit action to send an e-mail. (without asking the user if its ok if the e-mail is sent).

A good example is this web site, when soneone answers to a reply, you are e-mailed. How is this done?

thanks in advnace
 
First, you need an email component installed on the server, or CDONTS. If that's done, you use the components methods and properties to send the mail. _________________
Bixarrio
e = m * (c ^ 2)
 
If you are inserting into an SQL(6,7, 2000, etc.) database, you should have a function called xp_sendmail in your Extended Stored procedures. You can use this to send mail from the Database User. "A computer scientist is a person who knows when it is time to hit the computer."

John

johnmc@mvmills.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top