aspose file tools
The moose likes Servlets and the fly likes email Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply 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: 35232
    
    7
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 appsImageJ pluginsJava 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
    
    7
In this context I'm not sure what either "service" or "scheduler" means.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel/download
 
subject: email
 
Similar Threads
Adult Ad on JR Page
send a single email to a distribution list
Ant/JUnit conditional
could not download code from apress site
sending Email with attachment using Android emulator