POP3 is an application layer protocol used by mail clients to retrieve email messages from the server. A typical POP3 session will look like the following screenshot:
It has the following steps:
- The client opens a TCP connection to the server.
- The server sends an OK message to the client (OK Messaging Multiplexor).
- The user sends the username and password.
- The protocol operations begin. NOOP (no operation) is a message sent to keep the connection open, STAT (status) is sent from the client to the server to query the message status. The server answers with the number of messages and their total size (in packet 1042, OK 0 0 means no messages ...