From: "John M. Dlugosz" <[email protected]> > On 3/21/2011 1:48 AM, Octavian Rasnita orasnita-at-gmail.com |Catalyst/Allow > to home| wrote: >> >> You can use any of them or Catalyst::Helper::Model::Email. The plugin is no >> longer >> recommended. > > It looks like "helper" just installs a dummy Model that calls > Mail::Builder::Simple. So I > thought I'd just call that. But, there is no documentation as to the return > value, and > the code appears to return 1 if it makes it to the end. But what does it > return on error, > and where is the error particulars?
In Mail::Builder::Simple you can find about "live_on_error". If you use that key, the module won't report the error. If you don't use it and there will appear some errors, it will generate a detailed error. The error is generated by Email::Sender::Simple directly. It will be something like "unable to establish SMTP connection" plus ~ 1 kB of error trace. 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/
