[Catalyst-dev] RFC: Catalyst::View::Email and Catalyst::View::TemplateEmail

J. Shirley jshirley at gmail.com
Tue Mar 20 14:59:14 GMT 2007


On 3/20/07, Mario Minati <mario.minati at googlemail.com> wrote:
>
> How can I tell the user the the mail has been send successfully?
> 1. mailing error?
> 2. howto provide a normal view to the e.g. webapplication or xmlrpc?
>
> Greets,
> Mario Minati
>
> _______________________________________________
>

A mailing error, as best as we can detect, would be thrown in the View.  I'm
debating whether to go with an exception that needs to be caught, or some
other mechanism.  Thoughts on this welcome.  I'm leaning more towards just
throwing an exception.  Now, the other thing is how do you account for other
errors, such as bounces and that?  Well, that's up to the infrastructure.
All the view should do is guarantee it could construct and send the email to
the first point in the system.  After that, you need additional monitoring.

Regarding your second question, you can forward to multiple views in the
same request.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst-dev/attachments/20070320/2=
ec215fd/attachment.htm


More information about the Catalyst-dev mailing list