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
$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 );
new method is the object constructor.
$sender->send( $report );
send method transmits the report.
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.