OS Manuals

Log::Dispatch::Email::MailSendmail(3pm)

Log::Dispatch::Email::MailSendmail(3) User Contributed Perl Documentation Log::Dispatch::Email::MailSendmail(3)

  use Log::Dispatch;
  my $log = Log::Dispatch->new(
      outputs => [
          [
              'Email::MailSendmail',
              min_level => 'emerg',
              to        => [qw( foo@example.com bar@example.org )],
              subject   => 'Big error!'
          ]
      ],
  );
  $log->emerg("Something bad is happening");

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

2026-10-26 perl v5.44.0

perl-log-dispatch 2.71-r3 · os · ingested 2026-10-27