File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Java Products and Servers and the fly likes Automatic mail sending using jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Automatic mail sending using jsp" Watch "Automatic mail sending using jsp" New topic

Automatic mail sending using jsp

biny panackal
Ranch Hand

Joined: Apr 12, 2007
Posts: 72
Dear All

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

Biny Balan
Arthur Buliva
Ranch Hand

Joined: Mar 08, 2006
Posts: 101
Make a class that sends your email and schedule it as a Linux cron job or Windows scheduler application.
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
Be sure to allow for trying again after a delay when the mail server is not responding for some reason.

Shilpa Tendulkar
Ranch Hand

Joined: Jul 29, 2001
Posts: 75
I have used Quartz Scheduler to do this in my project. Its very good. Easy to implement. Try this Quartz

jiju ka
Ranch Hand

Joined: Oct 12, 2004
Posts: 306
Quartz is a popular scheduler.

But Why do you need a jsp? Is it because you may want to change the contents/configuration etc?

All you need is a scheduler, and a batch job.
Murthy Tanniru

Joined: Jun 03, 2008
Posts: 14
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
It's not a secret anymore!