p5-Mail-POP3Client

perl module to talk to a POP3 (RFC1081) server

WWW CVSWeb GITHub
  1. Package version
    p5-Mail-POP3Client-2.21
  2. Maintainer
    The OpenBSD ports mailing-list

This module implements an Object-Oriented interface to a POP3 server.
It is based on RFC1081.

Here is a simple example to list out the headers in your remote
mailbox:

#!/usr/bin/perl
use Mail::POP3Client;

$pop = new Mail::POP3Client("me", "mypassword", "pop3.do.main");
for ($i = 1; $i <= $pop->Count; $i++) {
print $pop->Head($i), "\n";
}