Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Automatic mail sending using jsp

 
biny panackal
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Arthur Buliva
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13056
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have used Quartz Scheduler to do this in my project. Its very good. Easy to implement. Try this Quartz
 
jiju ka
Ranch Hand
Posts: 308
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree. If you are using web app then use quartz else cron job will serve the purpose
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic