| Author: Sanjay jha 14 May 2007 | Member Level: Gold | Rating: Points: 2 |
hope below link will help u to get answer
http://www.sitepoint.com/article/sending-web-email-asp-net
|
| Author: latha reddy 14 May 2007 | Member Level: Silver | Rating: Points: 2 |
write a method in page load in start page.
If u are reading date in the format of 24 hours , any hour comes only once in a day . Just check hour with a number whick number is the hour which u want to send mail daily at that time.
In pageload check this in if condition if it matches then call sendmail method in that .
if u feel any probelm with this like if the site is not used by any body in that time then that method may not be invoked.
the solution is : do one thing leave 12 hours after taht check in page load is more that 12 hours then call the sendbalance method . I hope this will help u.
|