wood burning stoves 2.0*
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
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: 41108
    
  45
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: 41108
    
  45
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
 
Similar Threads
sending Email with attachment using Android emulator
Ant/JUnit conditional
send a single email to a distribution list
could not download code from apress site
Adult Ad on JR Page