Log::Dispatch::Email::Sendmail - Subclass of Log::Dispatch::Email that sends e-mail using sendmail
Log::Dispatch::Email::MailSendmail is no longer suitable for all situations because it doesn't use Sendmail to send mail (despite the name of the module) instead it uses SMTP and doesn't support AUTH.
This module sends mail using sendmail. It has the overhead of a fork/exec so it should only be used where really needed.
use Log::Dispatch; my $log = Log::Dispatch->new( outputs => [ [ 'Email::Sendmail', min_level => 'emerg', to => [qw( email@example.com firstname.lastname@example.org )], subject => 'Big error!' ] ], ); $log->emerg("Something bad is happening");
Send a message
<njh at bandsman.co.uk>
No known bugs.
You can find documentation for this module with the perldoc command.
You can also look for information at:
Kudos to Dave Rolksy for the entire Log::Dispatch framework.
Copyright 2013 Nigel Horne.
This program is released under the following licence: GPL