Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Forum
How to remind birthdate
February 01, 2009
I want to remind the birthday date to user, how the orkut remind to us. like wise. can anyone please guide me through sample code. im using asp.net code behind c#
Posted Date: February 02, 2009 Points: 5
The best way to do from SQL Server Jobs. Create one jobs which runs every day say 12:00 AM in the morning that will check whose birth day is falling near 7 days using Sql Query.
Now you got the say 100 User whose Birth day is falling in next 7 days. Here you can use either of the following
Step 1 - Save the data to another table(Say ReminderTable) with one status flag 1 for sent mail
Step 2 - You can use SQL Server to send mail (Better choice) or you can create one window service to get data from the ReminderTable and send reminder mail.
Note you can also use some logic that everyday you have to send mail or not.
Code for sending mail you can search in this site itself.
Hope this Helps
Posted Date: August 19, 2012 Points: 20
Please send me code for reminder mail with code and with example.
To post reply
Related Questions Related Questions
Latest Forum Questions From The Same Category
how to learn and Where can i Learn about ASP .Net
Slash(/) in Combobox
attaching the report in the web page
How do i get payment status in redirect page using bitpay?
Login with Facebook and Save details in database
Login with facebook account in my website
How to make a nested datalist control?
What class does Icon derive from?
What are the validation controls?
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more
Quick Links For Forum Categories:
Hall of Fame
Terms of Service
Tell A Friend