Re: Net::POP3 vs Mail::Transport::POP3 problem
Mark Overmeer <[email protected]> Mon, 10 May 2004 08:14:44 +0200
| Newsgroups | gmane.comp.lang.perl.modules.mail-box |
|---|---|
| Organization | MARKOV Solutions |
| Message-ID | <[email protected]> |
* TOPCHYAN AVETIK S. (NAT1AST) ([email protected]) [040507 18:30]: > I use ver. '2.054' on Win2K with ActiveState Perl 5.8.3. > But when I try to run similar script using Mail::Transport::POP3 ... > > ===================== > my $receiver = Mail::Transport::POP3->new( > hostname => $host, > username => $uid, > password => $pass > ) || die "Cannot create transport $!\n"; > ============================ > > I get this error: > > >perl test_mailbox.pl > ERROR: Could not authenticate using any login method > Cannot create transport Bad file descriptor > >Exit code: 9 Time: 0.413 That shuold work. There are many POP3 implementations, and maybe you encounted one which is again a little different :( But it is a bit hard to debug... Can you have a look in the server's logs for a reason why this is refused? It seems that the connection is lost ($! = EBADF), but why? Some print-statemtents added to Mail::Transport::POP3 may help to debug. If you can give me access to the POP3 server, I can help you... but otherwise you are mainly on your own... :-( I hop you can help me fix this, for the benefit of everyone. -- MarkOv ------------------------------------------------------------------------ drs Mark A.C.J. Overmeer MARKOV Solutions [email protected] [email protected] http://Mark.Overmeer.net http://solutions.overmeer.net