http://www.perlmonks.org?node_id=1048698


in reply to Re^2: how to read the Gmail Inbox using pop3client module?
in thread how to read the Gmail Inbox using pop3client module?

Consult with your network administrator, use a network analysis tool to see what goes over the wire and what connections are made. Maybe Mail::POP3Client has some hints on debugging?

Also consider the more verbose approach, also listed in the documentation:

... $pop2 = new Mail::POP3Client( HOST => "pop3.otherdo.main" ); $pop2->User( "somebody" ); $pop2->Pass( "doublesecret" ); $pop2->Connect() >= 0 || die $pop2->Message(); ...

That way, you get more information from ->Mesage() maybe.

I strongly recommend you start reading the documentation of the module and follow the practices outlined there.

Replies are listed 'Best First'.
Re^4: how to read the Gmail Inbox using pop3client module?
by vasanthgk91 (Sexton) on Aug 09, 2013 at 07:39 UTC

    when i try to connect gmail with pop3client..show this information..

    AUTH Web login required: https://support.google.com/mail/bin/answer.py?answer=78754

    How to skip this step..I enabled pop3/IMAP setting inside my mail.Any steps I miss it..Tell i will do..

    Thank you

      Have you read what the link says? What were the results?

      Circumventing Googles implementation of security checks is likely outside of the scope of Mail::POP3Client. I suggest you contact Google about the best approach to not needing to visit the web site.

        ok thank you