aspose file tools*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "automated emails using struts " Watch "automated emails using struts " New topic
Author

automated emails using struts

Brahmani Ganduri
Greenhorn

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
Bartender

Joined: Oct 29, 2001
Posts: 8708
    
    6

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.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: automated emails using struts
 
Similar Threads
Sending HTML emails using Apache James
Sending Mail via socket - attachments?
Email character issue
Java Mail Problem
Sending mails from same domain