This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 12759
    
    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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Automatic mail sending using jsp
 
Similar Threads
problem in sending mail using jsp
Help urgent
multiple smtp host
question in javaMail
Authenticating users using JavaMail Api