Can anyone explain the difference between Mail::POP3Client and Net::POP3, why I'd use one or the other?
The only difference I see looking at them is the RFC #'s.
| [reply] |
Personally, in pemail, I chose Mail::POP3Client over Net::POP3 because Mail::POP3Client offered more methods for accessing the pop3 server, specifically the Head(MESSAGE_NUMBER), Body(MESSAGE_NUMBER), and HeadAndBody(MESSAGE_NUMBER [, PREVIEW_LINES]) methods. They allowed easy access to parts of the message that you wanted without necessarily grabbing the entire message. Other than that and a few very minor differences in setting up the server connection, they are very similar and I say use whichever you prefer as they essentially provide the same functionality. I just overall found Mail::POP3Client a bit easier to work with for a Perl neophyte. :)
xjar
| [reply] [d/l] [select] |
In attempting to use Mail::POP3Client to access mail on an OpenBSD 3.2 system running popa3d, I have found that I get an error in my daemon log: "Authentication failed for UNKNOWN USER". I can connect to this pop server via telnet to 110 and issue the USER and PASS commands successfully. Running the pop server through a script in inetd.conf to pipe through tee - to capture my input and output to the pop server - I see that a successful connection yeilds one "^M" after each line - and my example perl script yeilds two control M's. Does anyone have a clue how I can either get around this - or perhaps recommend a different module to use with the popa3d? Thanks - weenie | [reply] |
I posted this question before joining the Monestary. This is my Question - so if anyone has an answer you can send it on to me - thanks.
Weenie
| [reply] |