modulereview
xjar
<h3>Description</h3><p>
<a href="http://search.cpan.org/search?module=Mail::POP3Client">Mail::POP3Client</a> implements an Object Oriented interface to a POP3 server using RFC1939. It is quite easy to use.<p>
<h3>Why use MAIL::POP3Client?</h3><p>
<li>You want to easily access a POP3 server with Perl.<p>
<h3>Why NOT use Mail::POP3Client?</h3><p>
<li>You are accessing an IMAP server :-).<p>
<h3>Example</h3><p>
<code>
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();
</code>
<p>
<h3>Personal Notes</h3><p>
MAIL::POP3Client is the module I used when writing <a href="http://freshmeat.net/projects/pemail/?highlight=pemail">pemail</a>, 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.
Module for interfacing with a POP3 server using RFC1939.