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

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.04   Source   Latest Release: Log-Dispatch-2.26

NAME ^

Log::Dispatch::Email::MailSender - Subclass of Log::Dispatch::Email that uses the Mail::Sender module

SYNOPSIS ^

  use Log::Dispatch::Email::MailSender;

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

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

METHODS ^

AUTHORS ^

Joseph Annino. <jannino@jannino.com>

Dave Rolsky, <autarch@urth.org>