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?

_______________________________________________
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/

Reply via email to