Communication Networks · Visualized

Email: SMTP · POP3 · IMAP

Application Protocols

The protocols your apps speak directly: web, mail and file transfer — requests, responses and headers.

3 interactive subtopics — each one animated, step-through and explained.

Email: SMTP · POP3 · IMAP

Application Protocols

Email uses two separate protocol jobs. SMTP is the push protocol — it moves a message from your client to your server and between servers across the internet, hop by hop like postal sorting offices. Reading is a pull: POP3 downloads mail to one device (usually deleting it from the server), while IMAP keeps mail on the server and synchronises folders across every device you own.

How Email: SMTP · POP3 · IMAP Works

  1. Compose & send: your client talks SMTP to your provider's submission server (port 587, authenticated).
  2. Server-to-server relay: the sending server queries DNS MX records to find the recipient's mail server, then delivers via SMTP (port 25).
  3. Store: the message lands in the recipient's mailbox on their provider's server.
  4. Retrieve via POP3 (port 995): download to the device, typically remove from server — one device, offline access.
  5. Retrieve via IMAP (port 993): leave everything on the server, sync folder state — many devices, always in step.

Email: SMTP · POP3 · IMAP Worked Example

Try it: Play — Alice sends to bob@college.edu and watch every hop and protocol hand-off.

SMTP pushes: Alice's client → her server → (DNS MX lookup) → the college server. There it waits. Bob pulls it down — with POP3 it now lives only on his laptop; with IMAP his phone sees “read” the moment he reads it.

AlicesenderAlice's serversmtp.providerCollege servermail.college.eduBob's devices 📱💻imap :993SMTP push :587SMTP pushes → · ← POP3/IMAP pulls
client→server push server→server relay mailbox at rest
Stage 1 / 5
Alice writes to bob@college.edu. Her client pushes the message using SMTP (port 587, authenticated) to her provider's submission server.

Email: SMTP · POP3 · IMAP: Key Facts to Remember

Split brainSMTP pushes between servers; POP3/IMAP pull to clients — mixing them up is the classic exam trap
PortsSMTP 25 (relay) / 587 (submission) · POP3 110/995 · IMAP 143/993
Spam gatereceivers reject unauthenticated relays — SPF, DKIM and DMARC prove the sender

Recommended resourcesAffiliate links · may earn us a commission

Recommended for learners

Cloud hosting for side projectsShip the portfolio project that gets you hired — free credits for new accounts.Claim credits Pro code editor & AI assistantWrite, debug and explain code faster while you practice the patterns here.Try it free Structured coding coursesVideo courses that pair well with visual practice — pick one language and go deep.Browse courses

See how packets really travel

Networks are built on the structures and algorithms you can watch step by step — queues, trees, and routing algorithms.