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.70
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
36 I am also usually active on IRC as 'autarch' on "irc://irc.perl.org".
37
39 The source code repository for Log-Dispatch can be found at
40 <https://github.com/houseabsolute/Log-Dispatch>.
41
43 Dave Rolsky <autarch@urth.org>
44
46 This software is Copyright (c) 2020 by Dave Rolsky.
47
48 This is free software, licensed under:
49
50 The Artistic License 2.0 (GPL Compatible)
51
52 The full text of the license can be found in the LICENSE file included
53 with this distribution.
54
55
56
57perl v5.32.0 2020-07-L3o1g::Dispatch::Email::MailSendmail(3)