From: "John M. Dlugosz" <[email protected]>
Any pointers as to the right (or best) way to send an email from my Catalyst App? I see there is a Plugin::Email and also a View::Email, which seems to be something totally different?

You can use any of them or Catalyst::Helper::Model::Email. The plugin is no longer recommended.

The most simple way is not the best. The best way is to send the messages in a job queue and let the worker module to send the message immediately or whenever the mail server is free. If you send the message directly from your application, in that moment the server might not be free and the user would need to wait too much until the message is sent, or the mail server might give a timeout and in that case the message is lost because the application doesn't send it again when the mail server is free.
Octavian


_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to