IO::Socket::CLI::POP3 - Command-line interface to a POP3 server.
version 0.041
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());
IO::Socket::CLI::POP3 provides a command-line interface to IO::Socket::INET6 and IO::Socket::SSL.
IO::Socket::CLI::POP3
See IO::Socket::CLI.
IO::Socket::CLI
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.
+OK
quit
Does not verify SSL connections. Has not been tried with STARTTLS.
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.
IO::Socket::INET6
IO::Socket::INET
IO::Socket::SSL
IO::Socket
To install IO::Socket::CLI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IO::Socket::CLI
CPAN shell
perl -MCPAN -e shell install IO::Socket::CLI
For more information on module installation, please visit the detailed CPAN module installation guide.