Posted By:
Chhavindra_Gautam
Posted On:
Saturday, October 20, 2001 10:52 PM
Use Javamail API in a servlet and compare the previous date and time system date and as soon as as soon as system date is greater than previous date and time send mail.
Second method is use a while loop and call Thread.sleep(24*60*60*60*1000)
then send mail.
While
{
SendMail();
Thread.sleep(24*60*60*60*1000)
}