| Test-Reporter documentation | Contained in the Test-Reporter distribution. |
Test::Reporter::Transport::Net::SMTP::TLS - Authenticated SMTP transport for Test::Reporter
version 1.57
my $report = Test::Reporter->new(
transport => 'Net::SMTP::TLS',
transport_args => [ User => 'Joe', Password => '123' ],
);
This module transmits a Test::Reporter report using Net::SMTP::TLS.
See Test::Reporter and Test::Reporter::Transport for general usage information.
$report->transport_args( @args );
Any transport arguments are passed through to the Net::SMTP::TLS constructer.
These methods are only for internal use by Test::Reporter.
my $sender = Test::Reporter::Transport::Net::SMTP::TLS->new(
@args
);
The new method is the object constructor.
$sender->send( $report );
The send method transmits the report.
Adam J. Foxson <afoxson@pobox.com> David Golden <dagolden@cpan.org> Kirrily "Skud" Robert <skud@cpan.org> Ricardo Signes <rjbs@cpan.org> Richard Soderberg <rsod@cpan.org> Kurt Starsinic <Kurt.Starsinic@isinet.com>
This software is copyright (c) 2010 by Authors and Contributors.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
| Test-Reporter documentation | Contained in the Test-Reporter distribution. |
# # This file is part of Test-Reporter # # This software is copyright (c) 2010 by Authors and Contributors. # # This is free software; you can redistribute it and/or modify it under # the same terms as the Perl 5 programming language system itself. # use strict; BEGIN{ if (not $] < 5.006) { require warnings; warnings->import } } package Test::Reporter::Transport::Net::SMTP::TLS; our $VERSION = '1.57'; # ABSTRACT: Authenticated SMTP transport for Test::Reporter use base 'Test::Reporter::Transport::Net::SMTP'; use Net::SMTP::TLS; 1;
__END__