It's a view, not a plugin! View::Email can send attachments, for View::Email::Template you need to create the MIME part with MIME::Creator yourself atm.
Patches are welcome ;-) -Alex -----Original Message----- From: Ash Berlin [mailto:[EMAIL PROTECTED] Sent: Monday, December 17, 2007 4:48 PM To: The elegant MVC web framework Subject: Re: [Catalyst] sending email with attachment On 17 Dec 2007, at 15:25, Michael Higgins wrote: > How are others out there doing this? My application serves a .pdf file > directly, but I'd like to send as an email attachment to the account > as > well. > > Looking at > Catalyst/View/Email/Template.pm > in the 'TO DO' section, "There needs to be a method to support > attachments"... > > So, are there any recommendations for how to proceed? Generally I'd > use > MIME::Lite for this outside of Catalyst, but I'd like to stay in the > Plugin:: space, and word is MIME::Lite isn't the best way currently. > > Cheers, I just use MIME::Lite in my cat app. And I've never understood the desire to use plugins for everything under the sun... but thats just me. _______________________________________________ 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/
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ 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/
