perl POP3Client module question

by David Mintz <mambomintz(at)yahoo.com>

 Date:  Thu, 30 Mar 2000 14:20:00 -0800 (PST)
 To:  hwg-languages(at)hwg.org
 Cc:  David Mintz <dmintz(at)panix.com>
  todo: View Thread, Original
Does anyone have experience with the Perl POP3Client
module? I've been trying this to contact my isp's pop
server from my Windows machines and can't figure what
is wrong:

use Mail::POP3Client;

 $pop = new Mail::POP3Client( USER     => "dmintz",
              PASSWORD => "my_passwd",
              HOST     => "popserver.panix.com" )
        or die "D'oh!  Could not connect";

print $pop->Alive(), "\n"; 
# this returns true, so I am connected

print "I have ", $pop->Count(), " messages\n";

# this prints "I have -1 messages" even when I know 
# there is mail in my inbox...

and doing a while loop to # print all the headers and
subjects prints nothing.

Interestingly enough, I get the same result when I
change my password to something that is wrong. 

So basically it ain't working. Wish I could be more
specific or find the answer in the module's
documentation.

Thanks

David Mintz
http://www.dmintzweb.com
http://www.panix.com/~dmintz

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA