-
-
19 Apr 2013 18:04:04 UTC
- Distribution: Transform-Alert
- Module version: 1.00
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues
- Testers (86 / 173 / 9)
- Kwalitee
Bus factor: 0- % Coverage
- License: artistic_2
- Perl: v5.10.1
- Activity
24 month- Tools
- Download (44.13KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- App::Daemon
- Class::Load
- Config::General
- Data::Dump
- Email::Abstract
- Email::MIME
- Email::Sender::Simple
- File::Slurp
- List::AllUtils
- Log::Log4perl
- Mail::IMAPClient
- Module::Metadata
- Moo
- MooX::Types::MooseLike
- Net::SNMP
- Net::SNMPTrapd
- Net::Syslog
- Net::Syslogd
- Path::Class
- String::Escape
- Template
- namespace::clean
- sanity
- Reverse dependencies
- CPAN Testers List
- Dependency graph
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 aEmail::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) 2013 by Brendan Byrd.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
Module Install Instructions
To install Transform::Alert, copy and paste the appropriate command in to your terminal.
cpanm Transform::Alert
perl -MCPAN -e shell install Transform::Alert
For more information on module installation, please visit the detailed CPAN module installation guide.