Mail::Box::IMAP4::SSL - handle IMAP4 folders with SSL
version 0.03
# standalone use Mail::Box::IMAP4::SSL; my $folder = new Mail::Box::IMAP4::SSL( username => 'johndoe', password => 'wbuaqbr', server_name => 'imap.example.com', ); # with Mail::Box::Manager use Mail::Box::Manager; my $mbm = Mail::Box::Manager->new; $mbm->registerType( imaps => 'Mail::Box::IMAP4::SSL' ); my $inbox = $mbm->open( folder => 'imaps://johndoe:wbuaqbr@imap.example.com/INBOX', );
This is a thin subclass of Mail::Box::IMAP4 to provide IMAP over SSL (aka IMAPS). It hides the complexity of setting up Mail::Box::IMAP4 with IO::Socket::SSL, Mail::IMAPClient and Mail::Transport::IMAP4.
In all other respects, it resembles Mail::Box::IMAP4. See that module for documentation.
Mail::Box::IMAP4::SSL is a Mail::Box::IMAP4 is a Mail::Box::Net is a Mail::Box is a Mail::Reporter
Mail::Box::IMAP4::SSL->new( %options )
my $folder = new Mail::Box::IMAP4::SSL( username => 'johndoe', password => 'wbuaqbr', server_name => 'imap.example.com', %other_options );
The username, password and server_name options arguments are required. The server_port option is automatically set to the standard IMAPS port 993, but can be changed if needed. See Mail::Box::IMAP4 for additional options.
username
password
server_name
server_port
Note: It is an error to provide a transporter options, as this class exists only to create an SSL-secured transporter for Mail::Box::IMAP4.
transporter
Mail::Box::IMAP4
Mail::Box
Please report any bugs or feature requests through the issue tracker at https://github.com/dagolden/Mail-Box-IMAP4-SSL/issues. You will be notified automatically of any progress on your issue.
This is open source software. The code repository is available for public review and contribution under the terms of the license.
https://github.com/dagolden/Mail-Box-IMAP4-SSL
git clone https://github.com/dagolden/Mail-Box-IMAP4-SSL.git
David Golden <dagolden@cpan.org>
This software is Copyright (c) 2013 by David Golden.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004
To install Mail::Box::IMAP4::SSL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mail::Box::IMAP4::SSL
CPAN shell
perl -MCPAN -e shell install Mail::Box::IMAP4::SSL
For more information on module installation, please visit the detailed CPAN module installation guide.