my $fmt = HTML::FromMail::Format::Magic->new(...); my $make = HTML::FromMail->new ( templates => ... , formatter => 'Magic' #, formatter => 'HTML::FromMail::Format::Magic' #, formatter => $fmt );
See SYNOPSIS in Mail::Reporter
The formatter is implementing the template system: it formats the output. This base class defines the methods which must be provided by any extension.
At the moment, the following template systems are available:
The formatter has nice simplifications for the user, especially when a lot own data must be included in the templates: so data with or without relation to messages which is not provided by this distribution (yet).
See DESCRIPTION in Mail::Reporter