[Catalyst-dev] Catalyst plugin

Bogdan Lucaciu bogdan at wiz.ro
Tue Sep 30 15:54:33 BST 2008


On Tuesday 30 September 2008 17:23:55 Matt S Trout wrote:
> >From my memory C::V::Email::Template already handles creating the basic
> > mail.
>
> Maybe by porting the mail sending code to either Mail::Builder or
> Email::Stuff you could achieve something where you can send attachments in
> the stash, and maybe have a syntax to get the mime addresses for images -
> something like adding $c->stash->{image_link} as a sub that resolves that
> so then in your template you can do [% image_link('foo.jpg') %} for
> $c->stash->{attachments}{foo.jpg} or something like th

You can try using Email::MIME::CreateHTML , it's rather nice

-- 
Bogdan Lucaciu




More information about the Catalyst-dev mailing list