Hai , I want to send a system tiggered mail in asp.net.Can someone help me out.
The mail has to be sent at the specific time .
Thanks in advance
hi there! Welcome to TSDN...
well in my case i used the "Jobs" in SQL Server... in the Jobs(Scheduler) you can set the time, date, and how many times will it execute...
wat i did was i created a SQL script that will create a txtfile in the scheduler, set the time when it will execute and saves the txtfile in a specific folder...
that folder now is being watched by the system(my program) using the FileSystemWatcher (i hope u have heard of this component already).
using the changed and created event of the FileWatcher, i can now set the trigger in those mentioned events to send the mail at a specific time(basically the time that is set in the jobs of SQLServer)
hope this helps!
Enjoy Coding!