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

sending emails with in a table

Status
Not open for further replies.

Guest_imported

New member
Joined
Jan 1, 1970
Messages
0
Placing a reminder date in a table. Once the date equals todays date an email is then sent out to the person who entered the request.

How is this done?
Does anybody now?
 

[li]Create a stored procedure to send the email.
[li]In the SP declare a cursor to select all records that are due a reminder message.
[li]Loop thru the cursor sending messages via xp_sendmail.[li]Optional: Update the table to indicate the message has been sent.
[li]Create a Job to execute the SP on a regular schedule - daily, every four hours, or whatever is needed. Terry L. Broadbent
Life would be easier if I had the source code. -Anonymous
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top