How Email Works

YOU GOT A MAIL!

1. Overview

2. Decription

2.1 Email Format

Email generally follow a format called IMF (Internet Message Format). It is a set of rule of how an email meesage must follow (like From:, To:, Subject:)

2.2 Email Header

2.3 Process of Sending

  1. Client to Server: Your email client (like Gmail or Outlook) connects to your email provider’s outgoing mail server (the SMTP server) and hands off the message.
  2. Routing: Your SMTP server looks up the recipient’s domain to find their mail server’s address using the Domain Name System (DNS) and its MX Record (Mail Exchanger).
  3. Server to Server: Your SMTP server connects to the recipient’s mail server (also using SMTP) and transfers the email.
  4. Delivery: The recipient’s mail server accepts the message, runs checks (spam, virus), and places it in the recipient’s digital mailbox.
  5. Retrieval: The recipient’s email client later connects to their mail server (using POP or IMAP) to retrieve and display the message.

2.4 Protocols

3. Extended Readings

last modified: 2025-12-12