1Log::Dispatch::Email::MUIsMeErLiCtoen(t3r)ibuted Perl DoLcougm:e:nDtiastpiaotnch::Email::MIMELite(3)
2
3
4
6 Log::Dispatch::Email::MIMELite - Subclass of Log::Dispatch::Email that
7 uses the MIME::Lite module
8
10 version 2.68
11
13 use Log::Dispatch;
14
15 my $log = Log::Dispatch->new(
16 outputs => [
17 [
18 'Email::MIMELite',
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 MIME::Lite 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) 2018 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.28.1 2018-08-22 Log::Dispatch::Email::MIMELite(3)