Dave Rolsky > Log-Dispatch-2.21 > Log::Dispatch::Email::MailSendmail

Download:
Log-Dispatch-2.21.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  5
Open  3
View Bugs
Report a bug
Module Version: 1.20   Source   Latest Release: Log-Dispatch-2.26

NAME ^

Log::Dispatch::Email::MailSendmail - Subclass of Log::Dispatch::Email that uses the Mail::Sendmail module

SYNOPSIS ^

  use Log::Dispatch::Email::MailSendmail;

  my $email =
      Log::Dispatch::Email::MailSendmail->new
          ( name => 'email',
            min_level => 'emerg',
            to => [ qw( foo@bar.com bar@baz.org ) ],
            subject => 'Oh no!!!!!!!!!!!', );

  $email->log( message => 'Something bad is happening', level => 'emerg' );

DESCRIPTION ^

This is a subclass of Log::Dispatch::Email that implements the send_email method using the Mail::Sendmail module.

METHODS ^

AUTHOR ^

Dave Rolsky, <autarch@urth.org>