NAME

Mail::Builder::Simple::Scalar - Plugin for Mail::Builder::Simple

VERSION

Version 0.03

SYNOPSIS

my $template = Mail::Builder::Simple::Scalar->new;
$template->process($template);

DESCRIPTION

This module shouldn't be used directly, but as a plugin of Mail::Builder::Simple for sending email messages with the body or the attachments created from a scalar variable.

This plugin module is usually used only for creating the attachments from a scalar variable, because the text and the HTML part of the email messages can be created directly without it.

SUBROUTINES/METHODS

new

new() is the class constructor. It doesn't require any parameter.

process

process() is the method that process the template.

It accepts a scalar value as a parameter which contains the body of the template.

SEE ALSO

Mail::Builder::Simple

DIAGNOSTICS

CONFIGURATION AND ENVIRONMENT

This module doesn't require any configuration.

DEPENDENCIES

Exception::Died

INCOMPATIBILITIES

No known incompatibilities.

BUGS AND LIMITATIONS

Not known bugs. If you find some, please announce.

AUTHOR

Octavian Rasnita <orasnita@gmail.com>

LICENSE AND COPYRIGHT

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