PROTOCOL EXPLORERLearn how the internet works
Now learningPOP3 · Retrieving emailOverview · 4 steps
Learning progress0%
0 / 14 complete · 0 in progress
Mail Server198.51.100.25InternetRouter192.168.1.1Client192.168.1.10

Protocol overview

POP3

Active

Post Office Protocol version 3

Retrieve messages from a mailbox through authorization, transaction and update states. POP3 has a simpler mailbox model than IMAP.

Layer
Application (Layer 7)
Default port
110 / 995 implicit TLS
Transport
TCP
Data format
Text commands + multiline replies
Defined in
RFC 1939
Read the complete guide ↗

Packet flow

DNSTCPRequestResponse
No.TimeSourceDestinationProtocolInfoSize
10.000s198.51.100.25192.168.1.10POP3+OK mailbox ready73 B
20.024s192.168.1.10198.51.100.25POP3USER learner68 B
30.048s198.51.100.25192.168.1.10POP3+OK60 B
40.072s192.168.1.10198.51.100.25POP3PASS teaching-only74 B
50.096s198.51.100.25192.168.1.10POP3+OK authorized70 B
60.120s192.168.1.10198.51.100.25POP3STAT60 B
70.144s198.51.100.25192.168.1.10POP3+OK 1 5864 B
80.168s192.168.1.10198.51.100.25POP3RETR 162 B
90.192s198.51.100.25192.168.1.10POP3+OK message follows118 B
100.216s192.168.1.10198.51.100.25POP3DELE 162 B
110.240s198.51.100.25192.168.1.10POP3+OK marked66 B
120.264s192.168.1.10198.51.100.25POP3QUIT60 B
130.288s198.51.100.25192.168.1.10POP3+OK updated67 B

How POP3 Retrieves Email

Inspect a POP3 session using STAT, RETR, DELE and QUIT. See when messages are downloaded and when pending deletions take effect.

Understanding POP3

Retrieve messages from a mailbox through authorization, transaction and update states. POP3 has a simpler mailbox model than IMAP.

Default port
110 / 995 implicit TLS
Transport / carrier
TCP
Category
application

What to look for in the lab

Find the message count in the STAT reply, then compare RETR 1 with DELE 1. The first retrieves the message. The second marks it for deletion, which the server applies after a successful QUIT.

1. Authorize mailbox access

The server sends +OK. The classic USER/PASS exchange shown here is readable teaching data; protected connections are needed for real passwords.

2. List available messages

STAT reports message count and total size. LIST reports individual message numbers and octet counts in the current maildrop.

3. Retrieve a message

RETR transfers a message including headers and body. Multiline replies end with a single-dot line and use dot-stuffing.

4. Commit pending deletions

DELE marks a message for deletion. Successful QUIT enters the update state; retrieving a message alone does not automatically delete it.

Protocol relationships

Protocols cooperate across layers. Compare the neighboring lessons to distinguish addressing, delivery, application semantics and encryption.

Standards and editorial method

Written and implemented independently by NavSprout. Lessons summarize public protocol standards using synthetic documentation addresses and fictional credentials. Consult the standards for complete wire formats and normative behavior.

RFC 1939 ↗

Check your understanding

What does DELE do before QUIT?