Log::Dispatch::Email::Sendmail - Subclass of Log::Dispatch::Email that sends e-mail using Sendmail
Version 0.04
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( foo@example.com bar@example.org )],
subject => 'Big error!'
]
],
);
$log->emerg('Something bad is happening');
Send a message
Nigel Horne, <njh at bandsman.co.uk>
No known bugs.
Log::Dispatch::Email::MailSendmail
You can find documentation for this module with the perldoc command.
perldoc Log::Dispatch::Email::Sendmail
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Log::Dispatch::Log::Sendmail
AnnoCPAN: Annotated CPAN documentation
Search CPAN
Kudos to Dave Rolksy for the entire Log::Dispatch framework.
Copyright 2013-2023 Nigel Horne.
This program is released under the following licence: GPL