MIME::Lite::TT::HTML::Japanese - Template-Toolkit によるHTMLメール作成モジュール
use MIME::Lite::TT::HTML::Japanese; my $msg = MIME::Lite::HTML::Japanese->new( From => 'from@example.com', To => 'to@example.com', Subject => 'Subject', Template => { html => 'mail.html', text => 'mail.txt', }, TmplOptions => \%options, TmplParams => \%params, Icode => 'euc', # input characterset (Jcode format) ); $msg->send;
MIME::Lite と Template をつかって HTML メールを作成するモジュール。
MIME::Lite
Template
%option を元に MIME::Lite でメールを作成し、その MIME::Lite オブジェクトを返す。
%option のとれる値。
Daisuke Murase <typester@cpan.org>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
MIME::Lite, Template, MIME::Lite::TT::Japanese
To install MIME::Lite::TT::HTML::Japanese, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MIME::Lite::TT::HTML::Japanese
CPAN shell
perl -MCPAN -e shell install MIME::Lite::TT::HTML::Japanese
For more information on module installation, please visit the detailed CPAN module installation guide.