Net::IMAP::Simple::SSL - SSL support for Net::IMAP::Simple


Net-IMAP-Simple-SSL documentation Contained in the Net-IMAP-Simple-SSL distribution.

Index


Code Index:

NAME

Top

Net::IMAP::Simple::SSL - SSL support for Net::IMAP::Simple

SYNOPSIS

Top

  use Net::IMAP::Simple::SSL;
  my $imap = Net::IMAP::Simple::SSL->new($server);

  $imap->login($user => $pass);

  my $total_messages = $imap->select("perl-advocacy");

DESCRIPTION

Top

This module is a subclass of Net::IMAP::SImple that includes SSL support. The interface is identical.

SEE ALSO

Top

Net::IMAP::Simple, IO::Socket::SSL, perl.

AUTHOR

Top

Casey West, <casey@geeknest.com>.

COPYRIGHT

Top


Net-IMAP-Simple-SSL documentation Contained in the Net-IMAP-Simple-SSL distribution.

package Net::IMAP::Simple::SSL;
# $Id: SSL.pm,v 1.3 2004/06/29 11:52:38 cwest Exp $
use strict;

use vars qw[$VERSION];
$VERSION = (qw$Revision: 1.3 $)[1];

use IO::Socket::SSL;
use base qw[Net::IMAP::Simple];

sub _port         { 993               }
sub _sock_from    { 'IO::Socket::SSL' }

1;

__END__