On Sun, Mar 20, 2011 at 11:48 PM, Octavian Rasnita <orasn...@gmail.com>wrote:

> From: "John M. Dlugosz" <wxju46g...@snkmail.com>
>
>  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.
>

That's good advice in general.  But, in a lot of ways mail, using a local
MTA, fits that role.



> 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: Catalyst@lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>



-- 
Bill Moseley
mose...@hank.org
_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to