http://qs1969.pair.com?node_id=31824

Item Description: Module for interfacing with a POP3 server using RFC1939.

Review Synopsis:

Description

Mail::POP3Client implements an Object Oriented interface to a POP3 server using RFC1939. It is quite easy to use.

Why use MAIL::POP3Client?

  • You want to easily access a POP3 server with Perl.

    Why NOT use Mail::POP3Client?

  • You are accessing an IMAP server :-).

    Example

    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();

    Personal Notes

    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.