Test::Reporter::Transport::Net::SMTP::Authen - SMTP transport for Test::Reporter


Test-Reporter-Transport-Net-SMTP-Authen documentation  | view source Contained in the Test-Reporter-Transport-Net-SMTP-Authen distribution.

Index


NAME

Top

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

SYNOPSIS

Top

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

DESCRIPTION

Top

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

CONFIG create

Top

    # 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

Top

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

Top

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

Top

COPYRIGHT

Top

LICENSE

Top

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


Test-Reporter-Transport-Net-SMTP-Authen documentation  | view source Contained in the Test-Reporter-Transport-Net-SMTP-Authen distribution.