Email::MIME::Kit::Renderer::TT - render parts of your mail with Template-Toolkit
version 1.003
This is a renderer plugin for Email::MIME::Kit, and renders message parts using Template Toolkit 2. When specifying a renderer in manifest.json, you might write something like this:
{ ..., "renderer": "TT" }
Or, to supply options:
{ ..., "renderer": [ "TT", { ...params go here... } ] }
There are only three parameters that can be supplied right now:
strict sets the STRICT Template parameter. It defaults to 1.
strict
STRICT
eval_perl sets the EVAL_PERL Template parameter. It defaults to 0.
eval_perl
EVAL_PERL
template_parameters can be a hashref of any parameters to be passed to the Template constructor. Setting STRICT or EVAL_PERL here overrides the strict and eval_perl options.
template_parameters
This module should work on any version of perl still receiving updates from the Perl 5 Porters. This means it should work on any version of perl released in the last two to three years. (That is, if the most recently released version is v5.40, then this module should work on both v5.40 and v5.38.)
Although it may work on older versions of perl, no guarantee is made that the minimum required version will not be increased. The version may be increased for any reason, and there is no promise that patches will be accepted to lower the minimum required perl.
Ricardo SIGNES <cpan@semiotic.systems>
Ricardo Signes <rjbs@semiotic.systems>
This software is copyright (c) 2022 by Ricardo SIGNES.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Email::MIME::Kit::Renderer::TT, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Email::MIME::Kit::Renderer::TT
CPAN shell
perl -MCPAN -e shell install Email::MIME::Kit::Renderer::TT
For more information on module installation, please visit the detailed CPAN module installation guide.