develooper Front page | perl.beginners | Postings from January 2002

IMAP via SSL

From:
Pete Emerson
Date:
January 9, 2002 06:56
Subject:
IMAP via SSL
Message ID:
3C3C5A26.1EAD2DB1@yale.edu
I'm using Mail::IMAPClient to get at my mailbox:

my $imap = Mail::IMAPClient->new(Server=>'my.mail.server', User=>'username', Password => 'password');
my $messages=$imap->unseen_count('INBOX');
print "$messages\n";

Does anybody have tips as to how to get this to work via SSL?
I'm guessing I need to use Mail::IMAPClient's Socket() function,
but I think maybe I need a different module (IO-Socket-SSL???) to
help me out. Any pointers would be appreciated. Maybe there's a module
to do IMAP via SSL?
        Pete

--
Mynd you, møøse bites Kan be pretty nasti...






nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About