NAME
Test::Smoke::Mailer::Base - baseclass for Mailers
DESCRIPTION
Test::Smoke::Mailer::Base->new()
constructor.
$mailer->fetch_report( )
fetch_report()
reads mktest.rpt from {ddir}
and return the subject line for the mail-message.
$mailer->error( )
error()
returns the value of $mailer->{error}
.
$self->_get_cc( $subject )
_get_cc()
implements the --ccp5p_onfail
option. It looks at the subject to see if the smoke FAILed and then adds the perl5-porters mailing-list to the Cc:
field unless it is already part of To:
or Cc:
.
The new behaviour is to only return Cc:
on fail. This is determined by the new global regex kept in $Test::Smoke::Mailer::NOCC_RE
.
COPYRIGHT
(c) 2002-2013, All rights reserved.
* Abe Timmerman <abeltje@cpan.org>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See:
* <http://www.perl.com/perl/misc/Artistic.html>,
* <http://www.gnu.org/copyleft/gpl.html>
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.