vasanthgk91 has asked for the wisdom of the Perl Monks concerning the following question:
I tried the following codes.But i did not get pop count.what mistake i did don't know.so please suggest solution
use warnings; use strict; use Mail::POP3Client; use IO::Socket::SSL; my $username ='vasanthgk91@gmail.com'; my $password ='password'; chomp($password); my $mailhost ='pop.gmail.com'; my $port ='995'; my $pop = new Mail::POP3Client( USER => $username, PASSWORD => $password, HOST => $mailhost, PORT => $port, USESSL => 'true', DEBUG => 0, ); if (($pop->Count()) < 1) { print "I Can't get pop count"; exit; }
Just I get "I Can't get pop count"
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: how to read the Gmail Inbox using pop3client module?
by syphilis (Archbishop) on Aug 09, 2013 at 06:12 UTC | |
by vasanthgk91 (Sexton) on Aug 09, 2013 at 07:07 UTC | |
by Corion (Patriarch) on Aug 09, 2013 at 07:18 UTC | |
by vasanthgk91 (Sexton) on Aug 09, 2013 at 07:39 UTC | |
by Corion (Patriarch) on Aug 09, 2013 at 07:41 UTC | |
| |
Re: how to read the Gmail Inbox using pop3client module?
by jakeease (Friar) on Aug 09, 2013 at 08:40 UTC | |
by vasanthgk91 (Sexton) on Aug 09, 2013 at 09:19 UTC | |
Re: how to read the Gmail Inbox using pop3client module?
by hulfordp (Initiate) on Jun 24, 2014 at 11:59 UTC |
Back to
Seekers of Perl Wisdom