NAME

Catalyst::Plugin::Email - Send emails with Catalyst

SYNOPSIS

use Catalyst 'Email';
use Email::Simple;
use Email::Simple::Creator;

__PACKAGE__->config->{email} = qw/SMTP smtp.oook.de/;

$c->email(
    Email::Simple->create(
        header => [
            From    => 'sri@oook.de',
            To      => 'sri@cpan.org',
            Subject => 'Hello!'
        ],
        body => 'Hello sri'
    )
);

DESCRIPTION

Send emails with Catalyst and Email::Send.

METHODS

email

SEE ALSO

Catalyst.

AUTHOR

Sebastian Riedel, sri@cpan.org

COPYRIGHT

This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.