logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: Net::POP3 vs Mail::Transport::POP3 problem: msg#00003

Subject: Re: Net::POP3 vs Mail::Transport::POP3 problem
* TOPCHYAN AVETIK S. (NAT1AST) (nat1ast@xxxxxxx) [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
       Mark@xxxxxxxxxxxx                          solutions@xxxxxxxxxxxx
http://Mark.Overmeer.net                   http://solutions.overmeer.net




<Prev in Thread] Current Thread [Next in Thread>