Skip to content

How email is delivered and checked

How a message finds the recipient's mail server, and the checks (blocklists, SPF, DKIM and DMARC) that decide whether it is accepted.

Step through it

Step 1 of 8

You press send

Your mail app hands the message to your provider's mail server. Nothing has gone to the recipient's provider yet.

Path: Sender to Sending server

Tip: swipe, or use the left and right arrow keys, to turn the slides.

Step 1 of 8: You press send

See the whole path at once
  1. SenderYou and your mail app
  2. Sending serverYour provider's mail server
  3. DNSPublic records
  4. Receiving serverThe recipient's provider
  5. InboxWhere it lands
Read every step as text
  1. 1.You press send

    Your mail app hands the message to your provider's mail server. Nothing has gone to the recipient's provider yet.

    Path: Sender to Sending server

  2. 2.The server looks up where to deliver

    The sending server asks DNS for the MX records of the recipient's domain. Each one names a mail server and a priority number, and the lowest number is tried first.

    Path: Sending server to DNS

    Read: MX records and how email finds its wayTry: Look up a domain's mail servers

  3. 3.It connects to the receiving server

    The server connects to the first mail server on the list. If that one cannot be reached, it moves on to the next. A domain with a null MX says it accepts no mail, and delivery stops there.

    Path: Sending server to Receiving server

    Read: MX records and how email finds its way

  4. 4.The receiving server checks who is calling

    Before accepting the message, the server looks at the address that connected to it. Does it have a reverse DNS name, and is it on a blocklist of known sources of spam?

    Path: Receiving server to DNS

    Read: Email blocklists (DNSBLs)Try: Check mail servers against blocklists

  5. 5.SPF: is this server allowed to send?

    It reads the sender domain's SPF record, a list of the servers allowed to send for that domain, and checks that the server that connected is on it.

    Path: Receiving server to DNS

    Read: SPF: who may send mail for a domain

  6. 6.DKIM: was the message signed and left unchanged?

    The message carries a digital signature from the sending domain. The server fetches the matching public key from DNS and checks that the signature fits and the message was not altered on the way.

    Path: Receiving server to DNS

    Read: DKIM: signing email

  7. 7.DMARC: do the results match the From address?

    The domain's DMARC record says that SPF or DKIM must pass in a way that matches the visible From address, and what to do if neither does: nothing, treat it as suspicious, or reject it.

    Path: Receiving server to DNS

    Read: DMARC: policy and reports

  8. 8.Delivered, filed as spam, or refused

    Using these checks and its own filters, the receiving server delivers the message, puts it in the spam folder, or refuses it. Where supported, a verified brand logo can then appear beside the sender (BIMI).

    Path: Receiving server to Inbox

    Read: BIMI: showing your logo in email

Go deeper