Dave Rolsky > Log-Dispatch-Email-EmailSend-0.03 > Log::Dispatch::Email::EmailSend

Download:
Log-Dispatch-Email-EmailSend-0.03.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Stalled  1
View/Report Bugs
Module Version: 0.03   Source  

NAME ^

Log::Dispatch::Email::EmailSend - Subclass of Log::Dispatch::Email that uses Email::Send

SYNOPSIS ^

  use Log::Dispatch::Email::EmailSend;

  my $email =
      Log::Dispatch::Email::EmailSend->new
          ( name        => 'email',
            min_level   => 'emerg',
            to          => [ qw( foo@bar.com bar@baz.org ) ],
            subject     => 'error',
            mailer      => 'SMTP',
            mailer_args => [ 'smtp.example.com' ],
          );

  $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 Email::Send module.

METHODS ^

AUTHOR ^

Dave Rolsky, <autarch@urth.org>

SEE ALSO ^

Log::Dispatch

syntax highlighting: