The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

IO::Socket::CLI::POP3S - Command-line interface to an SSL POP3 server.

VERSION

Version 0.02

SYNOPSIS

 use IO::Socket::CLI::POP3S;
 my $pop3 = IO::Socket::CLI::POP3S->new(HOST => 'pop.gmail.com');
 $pop3->read();
 do {
     $pop3->prompt();
     $pop3->read();
 } while ($pop3->is_open());

DESCRIPTION

IO::Socket::CLI::POP3S 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