1Test::Smoke::Mailer::BaUssee(r3)Contributed Perl DocumenTteastti:o:nSmoke::Mailer::Base(3)
2
3
4
6 Test::Smoke::Mailer::Base - baseclass for Mailers
7
9 Test::Smoke::Mailer::Base->new()
10 constructor.
11
12 $mailer->fetch_report( )
13 "fetch_report()" reads mktest.rpt from "{ddir}" and return the subject
14 line for the mail-message.
15
16 $mailer->error( )
17 "error()" returns the value of "$mailer->{error}".
18
19 $self->_get_cc( $subject )
20 "_get_cc()" implements the "--ccp5p_onfail" option. It looks at the
21 subject to see if the smoke FAILed and then adds the perl5-porters
22 mailing-list to the "Cc:" field unless it is already part of "To:" or
23 "Cc:".
24
25 The new behaviour is to only return "Cc:" on fail. This is determined
26 by the new global regex kept in $Test::Smoke::Mailer::NOCC_RE.
27
29 (c) 2002-2013, All rights reserved.
30
31 * Abe Timmerman <abeltje@cpan.org>
32
33 This library is free software; you can redistribute it and/or modify it
34 under the same terms as Perl itself.
35
36 See:
37
38 * <http://www.perl.com/perl/misc/Artistic.html>,
39 * <http://www.gnu.org/copyleft/gpl.html>
40
41 This program is distributed in the hope that it will be useful, but
42 WITHOUT ANY WARRANTY; without even the implied warranty of
43 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
44
45
46
47perl v5.30.1 2020-02-10 Test::Smoke::Mailer::Base(3)