File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes automated emails using struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "automated emails using struts " Watch "automated emails using struts " New topic

automated emails using struts

Brahmani Ganduri

Joined: Dec 10, 2008
Posts: 17
Hi All
I am using struts framework for my web pages development. One feature, I am supposed to add is to send automatic emails daily.
Is there any way to invoke an action class periodically to send an email.?
Joe Ess

Joined: Oct 29, 2001
Posts: 9189

It is possible, but that doesn't mean that you should.
Struts is a front controller, intended to streamline the construction of a web application. It is not a good match for automating processes.
Personally, I handle requirements like this with a stand-alone application (which can share functionality with a web app) and invoke it with cron or Quartz.

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: automated emails using struts
It's not a secret anymore!