Transform::Alert::Output::Email - Transform alerts to emails
# 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>
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.
TransportClass
Email::Sender::Transport::*
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.)
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/.
Brendan Byrd <BBYRD@CPAN.org>
This software is Copyright (c) 2013 by Brendan Byrd.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install Transform::Alert, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Transform::Alert
CPAN shell
perl -MCPAN -e shell install Transform::Alert
For more information on module installation, please visit the detailed CPAN module installation guide.