Paranoid::Log::Email - Log Facility Email
$Id: lib/Paranoid/Log/Email.pm, 2.00 2016/05/13 19:49:51
acorliss Exp $
use Paranoid::Log;
startLogger('crit-msg', 'Email', PL_CRIT, PL_GE,
{ mailhost => $mailhost, recipient => $recipient,
sender => $sender, subject => $subject });
This module implements an e-mail transport for messages sent to the logger. It
supports one or more recipients as well as overriding the sender address and
subject line. It also supports connecting to a remote mail server.
mailhost and recipient are the only mandatory
options.
The options recognized for use in the options hash are as follows:
Option Value Description
-----------------------------------------------------
mailhost string Hostname of mail server
recipient string E-mail address of recipient
sender string E-mail address of sender
subject string Subject line to use
NOTE: Given that this module is not intended to be used directly nothing
is exported.
- o
- Net::SMTP
- o
- Net::Domain
- o
- Paranoid
- o
- Paranoid::Debug
No format checking is done for any of the mail options. The mandatory options
are checked only for existence upon addition of a new logger.
Arthur Corliss (corliss@digitalmages.com)
This software is licensed under the same terms as Perl, itself. Please see
http://dev.perl.org/licenses/ for more information.
(c) 2005 - 2015, Arthur Corliss (corliss@digitalmages.com)