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

NAME

Authen::Simple::IMAP - Simple IMAP authentication

SYNOPSIS

    use Authen::Simple::IMAP;
    
    my $imap = Authen::Simple::IMAP->new(
        host => 'host.company.com'
    );
    
    if ( $imap->authenticate( $username, $password ) ) {
        # successfull authentication
    }
    

DESCRIPTION

IMAP authentication.

METHODS

  • new

    This method takes a hash of parameters. The following options are valid:

    • host

      Connection host, can be a hostname or IP address. Defaults to localhost.

          host => 'ldap.company.com'
          host => '10.0.0.1'
    • authenticate( $username, $password )

      Returns true on success and false on failure.

SEE ALSO

Authen::Simple.

Mail::IMAPClient.

AUTHOR

Andre Osti de Moura <andreoandre [at] gmail [dot] com>

COPYRIGHT

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

1 POD Error

The following errors were encountered while parsing the POD:

Around line 88:

You forgot a '=back' before '=head1'