2001-09-20 10:43:24 +02:00
|
|
|
DESCRIPTION
|
1996-10-24 15:44:51 +02:00
|
|
|
|
|
|
|
This module implements an Object-Oriented interface to a POP3 server. It is
|
2003-05-15 17:16:43 +02:00
|
|
|
based on RFC1939.
|
1996-10-24 15:44:51 +02:00
|
|
|
|
2001-09-20 10:43:24 +02:00
|
|
|
USAGE
|
1996-10-24 15:44:51 +02:00
|
|
|
|
|
|
|
Here is a simple example to list out the headers in your remote mailbox:
|
|
|
|
|
2001-09-20 10:43:24 +02:00
|
|
|
#!/usr/bin/perl
|
1996-10-24 15:44:51 +02:00
|
|
|
|
2001-09-20 10:43:24 +02:00
|
|
|
use Mail::POP3Client;
|
1996-10-24 15:44:51 +02:00
|
|
|
$pop = new Mail::POP3Client("me", "mypassword", "pop3.do.main");
|
2001-09-20 10:43:24 +02:00
|
|
|
for ($i = 1; $i <= $pop->Count; $i++) {
|
1996-10-24 15:44:51 +02:00
|
|
|
print $pop->Head($i), "\n";
|
2001-09-20 10:43:24 +02:00
|
|
|
}
|
2003-05-15 17:16:43 +02:00
|
|
|
|
|
|
|
WWW: http://search.cpan.org/dist/Mail-POP3Client/
|