Authen::Simple::IMAP - Simple IMAP authentication
use Authen::Simple::IMAP; my $imap = Authen::Simple::IMAP->new( host => 'host.company.com' ); if ( $imap->authenticate( $username, $password ) ) { # successfull authentication }
IMAP authentication.
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.
localhost
host => 'ldap.company.com' host => '10.0.0.1'
authenticate( $username, $password )
Returns true on success and false on failure.
Authen::Simple.
Mail::IMAPClient.
Andre Osti de Moura <andreoandre [at] gmail [dot] com>
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:
You forgot a '=back' before '=head1'
To install Authen::Simple::IMAP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Authen::Simple::IMAP
CPAN shell
perl -MCPAN -e shell install Authen::Simple::IMAP
For more information on module installation, please visit the detailed CPAN module installation guide.