[Catalyst] Requesting example code for postfix and Email::Sender

John M. Dlugosz wxju46gefd at snkmail.com
Tue Mar 22 01:56:55 GMT 2011


On 3/21/2011 1:37 PM, will trillich will.trillich-at-serensoft.com |Catalyst/Allow to 
home| wrote:
> $c->stash->{*email*} = {
>      from       =>  $c->config->{email_from},
>      'reply-to' =>  $c->user->email_name,
>      to         =>  $c->user->email_name,
>      cc         =>  join(',', @cc),
>      subject    =>  $subj,
>      body       =>  $message,
> };
> $c->forward( $c->view('Email') );
>

I didn't like that one (the mail view) because I don't follow: if your function sends 
email instead of generating a web page, what happens to the UA on the other end of the 
network who triggered that URL?



More information about the Catalyst mailing list