Hello list, I'm looking for best practices for sending email from the catalyst app that would also work with command-line scripts (cronjobs, one-time scripts, etc.).
In my current setup, Email model takes care of storing metadata in the database for each sent email, and Email controller has a private method which takes care of generating and sending actual emails. Is this the right way to go, or would it make more sense to move the email sending functionality to some utility module so it works equally well for non-catalyst scripts as well? Or is it easy enough to setup/prepare the catalyst context in the scripts so that I could use the send_email method from the catalyst Email controller? What is the most common email framework setup among catalyst users? I think it would be useful to add a few possible examples for this to Catalyst::Manual::Cookbook as well. Thanks. -- ----------------------------------------------------- Evaldas Imbrasas http://www.imbrasas.com _______________________________________________ List: [email protected] Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
