Hi All,
am working on Travel Domain IT Company,in that i work on Flight Module. I save date of travel,flight departure time,passenger information like emailID , mobile no etc in database. My task now is to send a reminder Email and SMS to passenger 24 hrs before his departure time.How i can do this .I am using Asp.net,c# and Sql server 2008.
Thanks in Advance
Vishwas
Sending automated reminder Email from Sql Server
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Ravindra T CRank #1,828 · 811 reputationPosted Jun 23, 2011, 9:38 PM EDT
use timer control in timer tick event read the departure date time from the database
DateTime dt=DateTime.Now-Departure DateTime;
u can get diff of datetime..
compare the diff DateTime.
if(dt=="24Hour")
{
//Your Email sending code......
}
Thanks & Regards,
Ravindra T C