Test::Reporter::Transport::Net::SMTP::Authen - SMTP transport for Test::Reporter WITH AUTH command
my $report = Test::Reporter->new( transport => 'Net::SMTP::Authen', transport_args => [ User => 'John', Password => '123' ], );
This module transmits a Test::Reporter report using Net::SMTP with authentication if needed.
# this command will write ~/.cpanconfig/config.ini for you perl -MTest::Reporter::Transport::Net::SMTP::Authen=install -e "install( $smtp_server, $user, $password)" # for Win32 perl -MTest::Reporter::Transport::Net::SMTP::Authen=install -e 'install( $smtp_server, $user, $password)' # for Unix
See Test::Reporter and Test::Reporter::Transport for general usage information.
Net::SMTP::Authen
$report->transport_args( @args );
Any transport arguments are passed through to the Net::SMTP constructer.
These methods are only for internal use by Test::Reporter.
my $sender = Test::Reporter::Transport::Net::SMTP->new( @args );
The new method is the object constructor.
new
$sender->send( $report );
The send method transmits the report.
send
David A. Golden (DAGOLDEN)
Ricardo Signes (RJBS)
Anatoliy Grishaev(GRIAN)
Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Adam J. Foxson. Copyright (C) 2004, 2005 Richard Soderberg. Copyright (C) 2008 David A. Golden Copyright (C) 2008 Ricardo Signes All rights reserved.
This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.
To install Test::Reporter::Transport::Net::SMTP::Authen, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Reporter::Transport::Net::SMTP::Authen
CPAN shell
perl -MCPAN -e shell install Test::Reporter::Transport::Net::SMTP::Authen
For more information on module installation, please visit the detailed CPAN module installation guide.