in reply to pop3 function for gmail account

I've had better luck with Mail::POP3Client rather than Net::POP3::SSLWrapper.
#!/usr/bin/perl -l use strict; use warnings; use Mail::POP3Client; BEGIN { $ENV{'POPTESTACCOUNT'} = 'user:password:pop.example.com'; } my $host = 'pop.example.com'; my $user = 'user'; my $password = 'password'; my $pop = Mail::POP3Client->new( USER => $user, PASSWORD => $password, HOST => $host, PORT => 995, USESSL => 1, DEBUG => 1, STATE => 'AUTHORIZATION', AUTHMODE_PASS => 'PASS', MESG => 'OK', LOCALADDR => '127.0.0.1', TIMEOUT => 30, ); $pop->Connect(); print "You have ", $pop->Count, " messages";

Replies are listed 'Best First'.
Re^2: pop3 function for gmail account
by teja (Initiate) on May 14, 2012 at 13:06 UTC
    Hi , Are there any chances of getting the same function using Net::POP3::SSLWrapper ?