| Author |
email
|
Abhishek Reddy
Ranch Hand
Joined: Mar 28, 2006
Posts: 259
|
|
I have a requirment in my web application, wherein if a particular time has been reached, one email has to be send to the user..
can any one give me suggestions in implementing such requirement
|
Abhishek
|
 |
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35232
|
posted

0
|
For the scheduling, the java.util.Timer and TimerTask classes will help.
Sending emails is done with the JavaMail API; see the JavaRanch J2EE FAQ for links about that. Do you have a mail server you can use?
|
Android apps – ImageJ plugins – Java web charts
|
 |
Abhishek Reddy
Ranch Hand
Joined: Mar 28, 2006
Posts: 259
|
|
|
thanks for the reply, Is it better to write a service or a scheduler...
|
 |
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35232
|
posted

0
|
|
In this context I'm not sure what either "service" or "scheduler" means.
|
 |
 |
|
|
subject: email
|
|
|