Networking and Internet Modules

poplib

POP3 client interfaces for retrieving messages from a maildrop. POP3_SSL supports encrypted connections; use certificate verification and bounded timeouts. POP3 retrieval and deletion are distinct operations, and deletion can be committed on session termination. No mailbox connection is made here.

Formal Syntax & Structure

python syntaxpython
import poplib

Return Value

module

Module namespace available through import; import is a statement, not a value-returning expression.

Working Example

Example Snippetpython
from poplib import POP3, POP3_SSLprint(issubclass(POP3_SSL, POP3))
Python Reference