MIME::Lite::TT::Japanese - MIME::Lite::TT with Japanese character code
use MIME::Lite::TT::Japanese; my $msg = MIME::Lite::TT::Japanese->new( From => 'firstname.lastname@example.org', To => 'email@example.com', Subject => 'Hi', Template => \$template, TmplParams => \%params, TmplOptions => \%options, Icode => 'sjis', ); $msg->send();
MIME::Lite::TT::Japanese is subclass of MIME::Lite::TT. This module helps creation of Japanese mail.
'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.
convert the subject to MIME-Header documented in RFC1522.
convert the mail text to JIS.
Set the character code of the subject and the template. 'euc', 'sjis' or 'utf8' can be set. If no value is set, this module try to guess encoding. If it is failed to guess encoding, 'euc' is assumed.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.