Net-Pop3

Net::POP3(3p) Perl Programmers Reference Guide Net::POP3(3p)

Net-Pop3

Net::POP3(3p) Perl Programmers Reference Guide Net::POP3(3p) # Net::POP3(3p) Perl Programmers Reference Guide Net::POP3(3p) NNAAMMEE # Net::POP3 - Post Office Protocol 3 Client class (RFC1939) SSYYNNOOPPSSIISS # use Net::POP3; # Constructors $pop = Net::POP3->new('pop3host'); $pop = Net::POP3->new('pop3host', Timeout => 60); $pop = Net::POP3->new('pop3host', SSL => 1, Timeout => 60); if ($pop->login($username, $password) > 0) { my $msgnums = $pop->list; # hashref of msgnum => size foreach my $msgnum (keys %$msgnums) { my $msg = $pop->get($msgnum); print @$msg; $pop->delete($msgnum); } } $pop->quit; DDEESSCCRRIIPPTTIIOONN # This module implements a client interface to the POP3 protocol, enabling a perl5 application to talk to POP3 servers. ...