1Log::Dispatch::Email::MUasielrSeCnodnmtariilb(u3t)ed PerLlogD:o:cDuimsepnattacthi:o:nEmail::MailSendmail(3)
2
3
4
6 Log::Dispatch::Email::MailSendmail - Subclass of Log::Dispatch::Email
7 that uses the Mail::Sendmail module
8
10 version 2.71
11
13 use Log::Dispatch;
14
15 my $log = Log::Dispatch->new(
16 outputs => [
17 [
18 'Email::MailSendmail',
19 min_level => 'emerg',
20 to => [qw( foo@example.com bar@example.org )],
21 subject => 'Big error!'
22 ]
23 ],
24 );
25
26 $log->emerg("Something bad is happening");
27
29 This is a subclass of Log::Dispatch::Email that implements the
30 send_email method using the Mail::Sendmail module.
31
33 Bugs may be submitted at
34 <https://github.com/houseabsolute/Log-Dispatch/issues>.
35
37 The source code repository for Log-Dispatch can be found at
38 <https://github.com/houseabsolute/Log-Dispatch>.
39
41 Dave Rolsky <autarch@urth.org>
42
44 This software is Copyright (c) 2023 by Dave Rolsky.
45
46 This is free software, licensed under:
47
48 The Artistic License 2.0 (GPL Compatible)
49
50 The full text of the license can be found in the LICENSE file included
51 with this distribution.
52
53
54
55perl v5.38.0 2023-07-L2o0g::Dispatch::Email::MailSendmail(3)