The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

MIME::Lite::TT::Japanese - MIME::Lite::TT with Japanese character code

SYNOPSIS

  use MIME::Lite::TT::Japanese;

  my $msg = MIME::Lite::TT::Japanese->new(
              From => 'me@myhost.com',
              To => 'you@yourhost.com',
              Subject => 'Hi',
              Template => \$template,
              TmplParams => \%params, 
              TmplOptions => \%options,
              Icode => 'sjis',
            );

  $msg->send();

DESCRIPTION

MIME::Lite::TT::Japanese is subclass of MIME::Lite::TT. This module helps creation of Japanese mail.

FEATURE

  • 'text/plain; charset=iso-2022-jp' is set to 'Type' of MIME::Lite option by the default.

  • '7bit' is set to 'Encoding' of MIME::Lite option by the default.

  • MIME encoding of the subject is carried out.

  • The character code of the mail text is converted to JIS.

ADDITIONAL OPTIONS

Icode

The character code of the subject of mail and a template is set to this option. 'euc', 'sjis' or 'utf8' can be set. If no values are set, it is assumed that it is 'euc'.

AUTHOR

Author <horiuchi@vcube.com>

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

SEE ALSO

MIME::Lite::TT