NAME
Sledge::Plugin::Email::Japanese - easy to send the mail
SYNOPSIS
package Your::Pages;
use Sledge::Plugin::Email::Japanese;
sub dispatch_foo {
my $self = shift;
$self->send_mail(
'foo.eml' => {
Subject => 'Hi!',
To => $self->r->param('email'),
TmplParams => {
name => $self->r->param('name'),
},
},
);
}
package Your::Config::_common;
$C{EMAIL} = {
From => 'info@example.com',
send => ['sendmail', 'FromSender' => 'foo@example.com']
};
DESCRIPTION
Send emails with Sledge and MIME::Lite::TT::Japanese.
AUTHOR
MATSUNO Tokuhiro <tokuhiro at mobilefactory.jp>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
THANKS TO
id:precuredaisuki
id:takefumi