Protocol ExplorerGuidesPricing

POP3 Protocol: Retrieve Mail and Session States

POP3 provides a simple client-server workflow for retrieving messages from a mailbox. Its state transitions explain when message data is listed, fetched or marked for deletion.

Updated · Editorial approach and simulation limits

Authorization, transaction and update states

A POP3 server begins with a greeting. In the authorization state, the client identifies and authenticates; once accepted, it enters the transaction state to inspect and retrieve messages. When the client ends the session, the update state applies deletion marks and closes the connection.

Commands such as STAT, LIST, RETR and DELE have distinct effects. DELE marks a message for deletion during the session; the update occurs when the client completes the session normally. A connection reset can leave the mailbox unchanged, so trace the final command and server response.

Retrieval is not the same as mailbox synchronization

POP3 is centered on retrieving a set of messages, while IMAP exposes folders, flags and more extensive synchronization state. Some POP3 clients leave messages on the server, but that behavior is a client/server option rather than an assumption to make from the protocol name.

A trace should correlate message numbers with the current session and account for UIDL where clients need stable message identifiers across sessions. Message numbers can change as the mailbox changes; they are not permanent identities.

Protect mail credentials and content

Traditional POP3 commands and message bodies are not encrypted by the base protocol. Deployments can wrap the session in TLS or upgrade the connection according to supported client and server behavior. Without encryption, a network capture may expose credentials and message contents.

Protocol Explorer shows a scripted retrieval sequence and does not connect to a mailbox. For an actual mail issue, use a test account and authorized endpoint logs rather than sharing someone’s message body or password.

Explore POP3 interactively

Follow the matching exchange packet by packet. The animation is a scripted teaching model with illustrative timing, not a capture of your network.

Open the POP3 animation · Compare Free and Pro

Specification and source

For exact protocol requirements, consult the primary document: RFC 1939: Post Office Protocol — Version 3. This page summarizes selected behavior and is not a substitute for the specification.

Related protocol lessons

Browse all application protocols · Compare retrieval messages with other request-response flows