NAME
IO::Socket::CLI::POP3 - Command-line interface to a POP3 server.
VERSION
version 0.041
SYNOPSIS
use IO::Socket::CLI::POP3;
my $pop3 = IO::Socket::CLI::POP3->new(HOST => 'pop.mail.yahoo.com');
$pop3->read();
do {
$pop3->prompt();
$pop3->read();
} while ($pop3->is_open());
DESCRIPTION
IO::Socket::CLI::POP3
provides a command-line interface to IO::Socket::INET6 and IO::Socket::SSL.
METHODS
See IO::Socket::CLI
.
is_open()
Returns if the server hung up according to the last server response. Override as POP3 gives no special response for closing a connection, so this verifies an +OK
response after sending a quit
command.
BUGS
Does not verify SSL connections. Has not been tried with STARTTLS.
COPYRIGHT AND LICENSE
Copyright (C) 2012-2014 by Ashley Willis <ashley+perl@gitable.org>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.12.4 or, at your option, any later version of Perl 5 you may have available.