A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Other Java Products and Servers
Automatic mail sending using jsp
Joined: Apr 12, 2007
Jun 11, 2008 05:47:00
I am standing in such a situation that how can i set up an automated mail sending mechanisms for my web application.. If any body know this please revert me back . How can i schedule mail sending without user interaction
Joined: Mar 08, 2006
Jun 11, 2008 06:23:00
Make a class that sends your email and schedule it as a Linux cron job or Windows scheduler application.
Author and all-around good cowpoke
Joined: Mar 22, 2000
Jun 11, 2008 06:51:00
Be sure to allow for trying again after a delay when the mail server is not responding for some reason.
Joined: Jul 29, 2001
Jun 12, 2008 08:42:00
I have used Quartz Scheduler to do this in my project. Its very good. Easy to implement. Try this
Joined: Oct 12, 2004
Jun 12, 2008 10:17:00
Quartz is a popular scheduler.
But Why do you need a
? Is it because you may want to change the contents/configuration etc?
All you need is a scheduler, and a batch job.
Joined: Jun 03, 2008
Jun 12, 2008 10:23:00
I agree. If you are using web app then use quartz else cron job will serve the purpose
I agree. Here's the link:
subject: Automatic mail sending using jsp
problem in sending mail using jsp
Authenticating users using JavaMail Api
multiple smtp host
question in javaMail
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015