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


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>

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