AW: [Catalyst] Sending E-Mails
goetz
devel at helektra.de
Thu Oct 2 12:49:33 BST 2008
I use the email plugin:
use Catalyst qw/
-Debug
ConfigLoader
Static::Simple
StackTrace
Prototype
Email
/;
Am 02.10.2008 um 13:41 schrieb Moritz Onken:
>
> Am 02.10.2008 um 13:30 schrieb goetz:
>
>> sub send_email : Local {
>> my ( $self, $c ,$params_href) =3D @_;
>> $c->stash->{mail_felder} =3D $params_href,
>> $c->email(
>> header =3D> [
>> To =3D> 'goetz.verdieck at helektra.de',
>> Subject =3D> 'Kontaktformular helektra.de',
>>
>> ],
>> body =3D> $c->view('TT')->render($c,'email.tt2'),
>> );
>>
>> }
>>
>> The code works with the built in server ..
>
> Seems like you are not using View::Email. Could you please provide
> the plugins you are loading in you helektra_de.pm?
>
More information about the Catalyst
mailing list