NAME
Transform::Alert::Output::Email - Transform alerts to emails
SYNOPSIS
# In your configuration
<Output test>
Type Email
TemplateFile outputs/test.tt
<ConnOpts>
TransportClass SMTP::Persistent # default
# See Email::Sender::Manual::QuickStart
# and Email::Sender::Transport::<TransportClass>
Host mail.foobar.org
Helo TransformAlert
</ConnOpts>
</Output>
DESCRIPTION
This output type will send an email for each converted input.
See Email::Sender for a list of the ConnOpts section parameters. (Specifically, the appropriate transport class.)
If you didn't guess, the TransportClass
option maps to a Email::Sender::Transport::*
class.
CAVEATS
This class is persistent, keeping the Transport object until shutdown. How that translates in terms of connections is dependent on the Transport class chosen. (In other words, the non-persistent SMTP transport class is still going to tear down the TCP connection before each message sent.)
AVAILABILITY
The project homepage is https://github.com/SineSwiper/Transform-Alert/wiki.
The latest version of this module is available from the Comprehensive Perl Archive Network (CPAN). Visit http://www.perl.com/CPAN/ to find a CPAN site near you, or see https://metacpan.org/module/Transform::Alert/.
AUTHOR
Brendan Byrd <BBYRD@CPAN.org>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2012 by Brendan Byrd.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)