The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Test::Reporter::Transport::Net::SMTP::Authen - SMTP transport for Test::Reporter WITH AUTH command

SYNOPSIS

    my $report = Test::Reporter->new(
        transport => 'Net::SMTP::Authen',
        transport_args => [ User => 'John', Password => '123' ],
    );

DESCRIPTION

This module transmits a Test::Reporter report using Net::SMTP with authentication if needed.

CONFIG create

    # 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

OTHER USAGE

See Test::Reporter and Test::Reporter::Transport for general usage information.

Net::SMTP::Authen

Transport Arguments

    $report->transport_args( @args );

Any transport arguments are passed through to the Net::SMTP constructer.

METHODS

These methods are only for internal use by Test::Reporter.

new

    my $sender = Test::Reporter::Transport::Net::SMTP->new( @args );
    

The new method is the object constructor.

send

    $sender->send( $report );

The send method transmits the report.

AUTHOR

  • David A. Golden (DAGOLDEN)

  • Ricardo Signes (RJBS)

  • Anatoliy Grishaev(GRIAN)

COPYRIGHT

 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.

LICENSE

This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.