Re: Mail::Box 2.054 POP3 issues
Mark Overmeer <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.mail-box |
|---|---|
| Organization | MARKOV Solutions |
| Message-ID | <[email protected]> |
* Jason Woodward ([email protected]) [040330 05:14]: > I am having some issues with Mail::Box 2.054 and POP3 access: > > # begin log snip > [Thu Mar 18 01:21:27 2004] [error] 21954: ModPerl::Registry: Can't > call method "isModified" without a package or object reference at > /usr/local/share/perl/5.6.1/Mail/Box.pm line 435, line 116. The fixes you suggest may solve these complaints, but are only silencing effects of some other problem. If the cause is fixed, your patches only complicate the module. It is apparent that $folder->messages does produce one or more C<undef> values, where only Mail::Message objects are permitted. If we fix the source for these undef values, the complaints will stop. > # begin log snip > [Thu Mar 18 01:21:46 2004] POP3.pm: ERROR: Could not authenticate using any login method > [Thu Mar 18 01:21:46 2004] -e: WARNING: Folder does not exist, failed opening pop3 folder pop3. > # end log snip This is weird: - where does this '-e' come from? From the command-line? - when the "Folder does not exist, failed opening pop3 folder pop3." message is produced (in manager->open), that is followed by an immediate return; == return undef. So why isn't this followed by a die in your program? > return $manager->open( > ) or die "Failed to open pop3: $!"; Can you figure-out what is happening here? Besides: is there no error message on the POP server about a failing log-in? That would wonder me. Please try to find it. -- MarkOv ------------------------------------------------------------------------ drs Mark A.C.J. Overmeer MARKOV Solutions [email protected] [email protected] http://Mark.Overmeer.net http://solutions.overmeer.net