AW: [Catalyst] Sending E-Mails

Moritz Onken onken at
Thu Oct 2 12:51:39 BST 2008

Am 02.10.2008 um 13:45 schrieb goetz:

> I use the email plugin:
> use Catalyst qw/
>            -Debug
>            ConfigLoader
>            Static::Simple
>            StackTrace
>            Prototype
>            Email
>            /;


try to configure Plugin::Email to use a smtp server:

    __PACKAGE__->config->{email} = [
        username => $USERNAME,
        password => $PASSWORD,

replace with localhost, username and password
can be blank if your smtp server doesnt require auth for local

Furthermore you might want to set the attribute of send_email to
Private and call the method with $self->send_email($c, $params);
Otherwise this method can be called by a request to this
controller via a browser.

Viele Grüße


More information about the Catalyst mailing list