in reply to how to read the Gmail Inbox using pop3client module?
Maybe there's no mail waiting there for you ? In that case $pop->Count() will be 0.
You should check to see whether the connection succeeded. The documentation says:
I would expect that you'd get an error if you don't have that module installed .... however, the documentation suggests that the absence of that module will simply cause the connection to silently fail.
Cheers,
Rob
You should check to see whether the connection succeeded. The documentation says:
For USESSL to be successful, the documentation also says that you need to have IO::Socket::SSL installed. Do you have that module ?To test for a connection failure, you will need to check the number of + messages: -1 indicates a connection error.
I would expect that you'd get an error if you don't have that module installed .... however, the documentation suggests that the absence of that module will simply cause the connection to silently fail.
Cheers,
Rob
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: how to read the Gmail Inbox using pop3client module?
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 | |
by vasanthgk91 (Sexton) on Aug 09, 2013 at 08:25 UTC |
In Section
Seekers of Perl Wisdom