Meaningless Drivel is fun!*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Automatic mail sending using jsp" Watch "Automatic mail sending using jsp" New topic
Author

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
binypanackal@gmail.com
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
Rancher

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

Bill
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


SCJP5
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
Greenhorn

Joined: Jun 03, 2008
Posts: 14
I agree. If you are using web app then use quartz else cron job will serve the purpose
 
 
subject: Automatic mail sending using jsp
 
Similar Threads
multiple smtp host
problem in sending mail using jsp
Help urgent
question in javaMail
Authenticating users using JavaMail Api