Click here to Skip to main content
16,017,264 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have to send to an email,how does my application know my date. i am new to this please help.

ex: i want to send an email to particular user when his particular due date comes
Posted
Updated 4-Jan-16 17:44pm
v2
Comments
Karthik V Ambakad 4-Jan-16 23:57pm    
Have you tried making a method that counts down to that date and when the date equals the date execute the email send event?
SathishRam 5-Jan-16 0:06am    
How does application runs daily?

1 solution

You normally don't do this in a ASP.NET application. You do it using a separate application, either a console app or a Windows Service application that runs all the time and can monitor the clock to send an email at a given time. ASP.NET applications don't run continuously.
 
Share this answer
 
Comments
SathishRam 5-Jan-16 0:32am    
OKay, Thank you

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900