11.6 poplib -- POP3 protocol client.

This module defines a class, POP3, which encapsulates a connection to an POP3 server and implements protocol as defined in RFC 1725. The POP3 class supports both the minmal and optional command sets.

A single class is provided by the poplib module:

POP3 (host[, port])
This class implements the actual POP3 protocol. The connection is created when the instance is initialized. If port is omitted, the standard POP3 port (110) is used.

One exception is defined as attributes of the poplib module:

error_proto
Exception raised on any errors. The reason for the exception is passed to the constructor as a string.