poplib.POP3_SSL()
poplib.POP3_SSL() is a Python function in the Poplib Module category. Creates a POP3 client with SSL encryption. The syntax is poplib.POP3_SSL(host, port=995, timeout=socket._GLOBAL_DEFAULT_TIMEOUT, context=None). Returns: POP3_SSL object. A typical example: pop = poplib.POP3_SSL("pop.gmail.com", 995). A close sibling is poplib.POP3(), which creates a POP3 client for retrieving email from a mail server. A close sibling is POP3.user(), which sends the USER command (username) to the POP3 server. A close sibling is POP3.pass_(), which sends the PASS command (password) to authenticate. A close sibling is POP3.stat(), which returns mailbox status: (message_count, mailbox_size). More about this category: POP3 email retrieval — POP3, user, pass_, stat, retr, dele, quit. Related Poplib Module entries: poplib.POP3(), POP3.user(), POP3.pass_(), POP3.stat(), POP3.list(), POP3.retr(). This page is part of the free Python Reference documentation covering 978+ functions, methods, and modules with examples and parameter details. You can try poplib.POP3_SSL() immediately in the Python playground, look up unfamiliar terms in the glossary, or return to the Python Reference homepage.