[Catalyst] problem with sending email
mickael at gandi.net
Thu Jan 5 18:27:30 CET 2006
My problem is saved now.
I make a big mistake with forward and subreq. RTFM ( I mean the code :)
Matt S Trout (dbix-class at trout.me.uk) a écrit :
> On Thu, Jan 05, 2006 at 02:55:18PM +0100, JOUANNE Mickael wrote:
> > Hi.
> > I want to make a controller for sending mail.
> > But the problem is that $c->forward('render_email') return me the stash
> > hash and not the processing of my template.
> > It it normal ?
> > Do I forgot to do something in my code ?
> If you want to return a view-rendered template contents, you probably want
> $c->subreq (from Catalyst::Plugin::SubRequest).
> forward returns whatever the action it calls returns, not $c->res->output.
> Matt S Trout Offering custom development, consultancy and support
> Technical Director contracts for Catalyst, DBIx::Class and BAST. Contact
> Shadowcat Systems Ltd. mst (at) shadowcatsystems.co.uk for more information
> + Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +
> Catalyst mailing list
> Catalyst at lists.rawmode.org
Mickaël JOUANNE // email: mickael at gandi.net
* If Linux doesn't have the solution, you have the wrong problem *
More information about the Catalyst