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

Email Schduler

Status
Not open for further replies.

cyberdeminout

Programmer
Jul 19, 2005
37
US
I am working on email scheduler. The user would be able to schedule emails at certain times to run through the day,week,month with time. Scheduler continuously run in the system and sends email alerts for that time.

Any ideas how to send emails for the exact time.

for example:
Email1 should go at 7/15/2006 9:01:00 AM
Email2 should go at 7/15/2006 10:01:00 AM
Email3 should go at 7/15/2006 10:01:00 AM
Email4 should go at 7/15/2006 10:03:00 AM
Email5 should go at 7/15/2006 10:04:00 AM
Email6 should go at 7/15/2006 10:06:00 AM
Email7 should go at 7/15/2006 10:10:00 AM
Email8 should go at 7/15/2006 10:24:00 AM

Any help grealy appreicated.
Thanks
 
You'll be best off using a windows service for this. Check out the VB.NET forum (forum796) if you get stuck.


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
another option would be to use threading in ASP.NET itself.

you could startup a thread in Global.ASAX's Application_OnStart event. This thread could run every XXX seconds.

However it will be very similar to windows services. only advantage being that this i think is the only way possible when it comes to shared hosting...

Known is handfull, Unknown is worldfull
 
Thanks for your responses. I have implemented this scheduling using timer and is working good. it is in test mode from last 4 days and so far doing good and sending emails for the exact time.

appreciate your great help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top