aspose file tools*
The moose likes Servlets and the fly likes email Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "email" Watch "email" New topic
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: 42289
    
  64
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?


Ping & DNS - my free Android networking tools app
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: 42289
    
  64
In this context I'm not sure what either "service" or "scheduler" means.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: email