NAME
IO::Socket::CLI::POP3 - Command-line interface to a POP3 server.
VERSION
Version 0.01
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.
SUPPORT
http://rt.cpan.org/NoAuth/Bugs.html?Dist=IO-Socket-CLI
COPYRIGHT AND LICENSE
Copyright (C) 2012 by Ashley Willis <ashleyw@cpan.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.
SEE ALSO
IO::Socket::CLI, IO::Socket::INET6, IO::Socket::INET, IO::Socket::SSL, IO::Socket