This is an interface for the Post Office Protocol - Version 3 (POP3) as specifed by RFC 1939. The protocol is intended to permit a workstation to dynamically access a maildrop on a server host in a useful fashion.
Default TCP port for POP version 3
Requests the server to end this session. If the session is
currently in the
`Transaction state, the server will attempt
to remove all messages marked as deleted before closing its
side of the connection.
Specifies the name of the mailbox the client would like to open
using plain-text authentication. Normal completion of this function
should be followed by the
Authenticates a user with the plain-text password
Specifies the user and password using APOP authentication.
APOP is a more secure method of authentication than what is
provided by the
pass command sequence.
Returns information about the current mailbox as tuple
count is the number of messages in
size is the size of the mailbox in octets,
ext is any server extension data.
Returns the scan listing for an optional message number or
for all messages in the current mailbox. The result is a hash
table that maps a message number to a tuple
size is the size of the message in octets, and
ext is any
server extension data.
Marks the message number of the current mailbox for deletion.
Pings the server to keep the session alive.
Unmarks any messages that have previously been marked as deleted.
client implements the POP3 protocol. Client objects
are created by
new client in_ch out_ch
in_ch is an input channel representing the input direction of
the TCP stream, and where
out_ch is an output channel representing
the output direction of the TCP stream.