Provided by: libmime-lite-tt-html-perl_0.04-2_all bug

NAME

       MIME::Lite::TT::HTML - Create html mail with MIME::Lite and TT

SYNOPSIS

           use MIME::Lite::TT::HTML;

           my $msg = MIME::Lite::TT::HTML->new(
               From        => 'from@example.com',
               To          => 'to@example.com',
               Subject     => 'Subject',
               TimeZone    => 'Asia/Shanghai',
               Encoding    => 'quoted-printable',
               Template    => {
                   html => 'mail.html',
                   text => 'mail.txt',
               },
               Charset     => 'utf8',
               TmplOptions => \%options,
               TmplParams  => \%params,
           );

           $msg->send;

DESCRIPTION

       This module provide easy interface to make MIME::Lite object with html formatted mail.

METHODS

       new return MIME::Lite object with html mail format.

ADITIONAL OPTIONS

   Template
       The  same  value  passed  to  the  1st argument of the process method of Template::Toolkit is set to this
       option.

   TmplParams
       The parameter of a template is set to this option.  This parameter must be the reference of hash.

   TmplOptions
       configuration of Template::Toolkit is set to this option.  ABSOLUTE and RELATIVE are  set  to  1  by  the
       default.

   TimeZone
       You can specified the time zone of the mail date:

           TimeZone => 'Asia/Shanghai',

       default using 'UTC' if not defined.

   Encoding
       Mail body will be encoded for tranfer.

          Use encoding:     | If your message contains:
          ------------------------------------------------------------
          7bit              | Only 7-bit text, all lines <1000 characters
          8bit              | 8-bit text, all lines <1000 characters
          quoted-printable  | 8-bit text or long lines (more reliable than "8bit")
          base64            | Largely non-textual data: a GIF, a tar file, etc.

       default using '7bit' if not defined.

   Charset
       You  can  specified  the  charset of your mail, both subject and body will using the charset to make mail
       reader's client satisfied.

          Charset => 'big5',

       And, if you giving the orignal words as UTF8 and attempt to mail them as GB2312 charset, you  can  define
       the charset like:

          Charset => [ 'utf8' => 'gb2312' ],

       We will using Encode to make this happy.

AUTHOR

       Sheng Chun <chunzi@cpan.org>

SEE ALSO

       MIME::Lite::TT MIME::Lite::TT::Japanese MIME::Lite::TT::HTML::Japanese

LICENSE

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

perl v5.20.2                                       2015-11-25                          MIME::Lite::TT::HTML(3pm)