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

SYNOPSIS
        use Catalyst qw/Email::Japanese/;
        
    # config base parameters
        __PACKAGE__->config(
            email => {
                Template => 'email.tt',
                From => 'typester@cpan.org',
            }
        );
        
    # and later in your controller
        $c->email(
            To => 'example@example.com',
            Subject => 'Hi!',
        );

DESCRIPTION
    Send emails with Catalyst and MIME::Lite::TT::Japanese.

ForceUTF8 MODE
    If $c->config->{ForceUTF8} or $c->config->{email}->{ForceUTF8} is true
    value, this module use Template::Provider::Encoding and
    Template::Stash::ForceUTF8 for correct utf-8 handling.

    Please see these module's docs for detail.

HTML MAIL SUPPORT
    If Template parameter is hash ref like below:

        $c->config->{email} = {
            Template => {
                html => 'html.tt',
                text => 'text.tt',
            },
        };

    then this module use MIME::Lite::TT::HTML::Japanese instead of
    MIME::Lite::TT::Japanese.

    This is useful for sending html mails.

METHODS
  email( %args )
    Send email with MIME::Lite::TT::(HTML::)Japanese.

    %args and $c->config->{emal} is MIME::Lite::TT::(HTML::)Japanese's
    parameters, and %args override latter.

SEE ALSO
    Catalyst, Catalyst::Plugin::Email, MIME::Lite::TT::Japanese,
    MIME::Lite::TT::HTML::Japanese.

AUTHOR
    Daisuke Murase <typester@cpan.org>

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

    The full text of the license can be found in the LICENSE file included
    with this module.