![]() |
![]()
| ![]() |
![]()
NAMEParanoid::Log::Email - Log Facility Email VERSION$Id: lib/Paranoid/Log/Email.pm, 2.00 2016/05/13 19:49:51 acorliss Exp $ SYNOPSISuse Paranoid::Log; startLogger('crit-msg', 'Email', PL_CRIT, PL_GE, { mailhost => $mailhost, recipient => $recipient, sender => $sender, subject => $subject }); DESCRIPTIONThis 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. OPTIONSThe 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 SUBROUTINES/METHODSNOTE: Given that this module is not intended to be used directly nothing is exported. initaddLoggerdelLoggerlogMsgDEPENDENCIESSEE ALSO
BUGS AND LIMITATIONSNo format checking is done for any of the mail options. The mandatory options are checked only for existence upon addition of a new logger. AUTHORArthur Corliss (corliss@digitalmages.com) LICENSE AND COPYRIGHTThis 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)
|