Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Checking a user table

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2004-10-28 : 08:08:39
Bill writes "I am hoping someone can help me. I have a user table that holds subscriptions. What I want to do is have an email sent out to the users when there is 5 days left and have a service automaticly run this. I am using SQL 2000, ASP.net amd vb.net. I have looked everywhere for two days and have made myself more confused. Is there a way to do this with a job that can be scheduled like a dts package? Any ideas ors links to some info on how to do this would be greatly appreciated."

harshal_in
Aged Yak Warrior

633 Posts

Posted - 2004-10-28 : 08:29:28
you can write a stored procedure which checks for the users mathcin the condition and send sending a mail and schedule it as a sql server job at a predefined time.

He is a fool for five minutes who asks ,
but who does not ask remains a fool for life!

http://www.sqldude.4t.com
http://www.sqljunkies.com/weblog/sqldude
Go to Top of Page

AndyB13
Aged Yak Warrior

583 Posts

Posted - 2004-10-28 : 08:31:18
Search the website/forums there is plenty of information on email

[url]http://www.sqlteam.com/searchresults.asp?SearchTerms=mail[/url]
Go to Top of Page
   

- Advertisement -