NETLEARN
Lesson 01Application

The Journey of an Email

Email feels simple on screen, but behind the scenes it hops through several servers: one stores it for you, one finds the destination, one places it in the inbox. Each hop has its own protocol.

Layer
Layer 7 · Application (SMTP, IMAP)
Reference
RFC 5321 (SMTP)
Steps
6
Senderemail app
Sending serverSMTP submission
Receiving serverMX
Inboxstorage
legendrequestcontrolresponsemessage in flight

Common misunderstandings

  • Plain email isn't encrypted between servers; STARTTLS only encrypts it if both sides agree. So never send passwords or sensitive data over email.

Key notes

SMTP ≠ IMAP
SMTP is only for sending/forwarding; reading the inbox uses IMAP or POP3.
Store and forward
Each server stores and forwards. Email doesn't need both ends online at once.
Queue & retry
If the destination server is down, the sender holds the queue and retries for several days.
SPF/DKIM/DMARC
Three mechanisms that make email hard to forge. Unfortunately many domains still don't set them up correctly.