Mail::POP3Client implements an Object Oriented interface to a POP3 server using RFC1939. It is quite easy to use.
use Mail::POP3Client; $pop = new Mail::POP3Client( USER => "me", PASSWORD => "mypassword", HOST => "pop3.do.main" ); for( $i = 1; $i <= $pop->Count(); $i++ ) { foreach( $pop->Head( $i ) ) { /^(From|Subject):\s+/i && print $_, "\n"; } } $pop->Close();
MAIL::POP3Client is the module I used when writing pemail, a command line MUA. I found the module to be very intuitive and straightforward. Writing pemail and using this module are what really got me into Perl programming. I highly recommend this module for any programs that require POP3 server access.
In reply to Mail::POP3Client by xjar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |