Authen::Simple::SMTP - Simple SMTP authentication


NAME

Authen::Simple::SMTP - Simple SMTP authentication


SYNOPSIS

    use Authen::Simple::SMTP;
    
    my $smtp = Authen::Simple::FTP->new( 
        host => 'smtp.company.com'
    );
    
    if ( $smtp->authenticate( $username, $password ) ) {
        # successfull authentication
    }
    
    # or as a mod_perl Authen handler
    
    PerlModule Authen::Simple::Apache
    PerlModule Authen::Simple::SMTP
    PerlSetVar AuthenSimpleSMTP_host "smtp.company.com"
    <Location /protected>
      PerlAuthenHandler Authen::Simple::SMTP
      AuthType          Basic
      AuthName          "Protected Area"
      Require           valid-user
    </Location>


DESCRIPTION

Authenticate against a SMTP service.


METHODS


SEE ALSO

the Authen::Simple manpage.

the Net::SMTP manpage.


AUTHOR

Christian Hansen ch@ngmedia.com


COPYRIGHT

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