aspose file tools
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
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Reply 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: 12271
    
    1
Be sure to allow for trying again after a delay when the mail server is not responding for some reason.

Bill


Java Resources at www.wbrogden.com
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: 302
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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Automatic mail sending using jsp
 
Similar Threads
Help urgent
problem in sending mail using jsp
multiple smtp host
question in javaMail
Authenticating users using JavaMail Api