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

Email::MIME::Kit::Renderer::TT - render parts of your mail with Template-Toolkit

VERSION

version 1.001

DESCRIPTION

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.

eval_perl sets the EVAL_PERL Template parameter. It defaults to 0.

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.

AUTHOR

Ricardo SIGNES <rjbs@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 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.