in reply to GMail IMAP SSL and Perl

Did you read the Mail::IMAPClient documentation regarding debugging?

"Sets the debugging flag to either a true or false value. Can be supplied with the "new" method call or separately by calling the Debug object method. Use of this parameter is strongly recommended when debugging scripts and required when reporting bugs."

Replies are listed 'Best First'.
Re^2: GMail IMAP SSL and Perl
by texasag90 (Initiate) on Jun 24, 2010 at 21:22 UTC
    I did, actually. It is not very helpful. It just says the connection timed out.
    Started at Thu Jun 24 17:01:06 2010 Using Mail::IMAPClient version 3.25 on perl 5.008008 Connecting via IO::Socket::SSL to imap.gmail.com:993 Timeout 600 ERROR: Unable to connect to imap.gmail.com: IO::Socket::SSL: connect: +Connection timed out at /usr/lib/perl5/site_perl/5.8.8/Mail/IMAPCl ient.pm line 339 Mail::IMAPClient::connect('Mail::IMAPClient=HASH(0x87cdeac)') +called at /usr/lib/perl5/site_perl/5.8.8/Mail/IMAPClient.pm line 3 00 Mail::IMAPClient::new('Mail::IMAPClient', 'Server', 'imap.gmai +l.com', 'Port', 993, 'Ssl', 1, 'User', 'foo@gmail.com', . ..) called at ./imap-test5.pl line 9

      So can you ping imap.gmail.com? Have you read Gmail IMAP access, apparently it is a working example.