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.27
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 Dave Rolsky <autarch@urth.org>
34
36 This software is Copyright (c) 2010 by Dave Rolsky.
37
38 This is free software, licensed under:
39
40 The Artistic License 2.0
41
42
43
44perl v5.12.2 2010-10-16 Log::Dispatch::Email::MIMELite(3)