Deliverability

How to read email headers

Short answer

Email headers are the lines above the message body that record who sent it, which servers handled it, and whether it passed authentication. To read them, open the full headers (Show original in Gmail, View message source in Outlook), then check Authentication-Results for spf, dkim and dmarc pass or fail, and read the Received lines from the bottom up to trace the path the email took.

Last checked 16 November 2026

Email headers are the hidden lines at the top of every message that record where it came from, which servers passed it along, and whether it passed authentication checks. To read them, open the full headers in your mail app, look at Authentication-Results first for SPF, DKIM and DMARC, then read the Received lines from the bottom up.

How to view full email headers

Mail app Where to find headers
Gmail (web) Open the email, three-dot More menu, Show original
Outlook for Windows (classic) Open the email, File, Properties, the Internet headers box
Outlook on the web, new Outlook More actions (three dots), View, View message source or View message details
Apple Mail View, Message, All Headers (or Raw Source)
Yahoo Mail Three-dot More menu, View raw message
Thunderbird View, Headers, All, or View, Message Source

Google documents the Gmail steps in Trace an email with its full headers. Gmail’s Show original page also prints a short SPF, DKIM and DMARC summary above the raw text, which is often all you need.

The headers that matter

A raw email can have dozens of headers. These are the ones worth reading:

Header What it tells you Trust it?
Authentication-Results SPF, DKIM and DMARC results, added by the receiver Yes, the topmost one
Received Each server that handled the message, newest first Only the ones added by servers you trust
From The sender shown to the reader No, set by the sender
Return-Path The bounce address (envelope sender) Set by the final server from the SMTP MAIL FROM
DKIM-Signature Which domain signed the message, and with which key Verified via Authentication-Results
Message-ID A unique id for this message Set by the sender
Reply-To Where replies go, if different from From No, set by the sender
List-Unsubscribe How to unsubscribe (RFC 2369, one-click via RFC 8058) Set by the sender
ARC-* Authentication results preserved through forwarding (RFC 8617) Only from trusted intermediaries

The format of every header is defined in RFC 5322.

Reading Authentication-Results

This is the most useful header for deliverability. It is defined in RFC 8601, and the receiving server adds it after checking the message. A typical one from Gmail:

Authentication-Results: mx.google.com;
       dkim=pass header.i=@acme.com header.s=mc1 header.b=Xk3...;
       spf=pass (google.com: domain of bounce@send.acme.com designates 203.0.113.7 as permitted sender) smtp.mailfrom=bounce@send.acme.com;
       dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=acme.com

Read it piece by piece:

  • dkim=pass header.i=@acme.com: the message carries a valid DKIM signature from acme.com. header.s is the selector, which tells you which DNS key was used.
  • spf=pass ... smtp.mailfrom=bounce@send.acme.com: the sending IP is allowed by the SPF record of send.acme.com, the envelope sender’s domain. SPF checks the Return-Path domain, not the visible From.
  • dmarc=pass ... header.from=acme.com: the visible From domain acme.com matched (aligned with) at least one passing result. Here DKIM is signed by acme.com exactly, and the SPF domain send.acme.com is a subdomain, which counts under relaxed alignment.

If you see dmarc=fail, look at which of SPF or DKIM passed and for which domain. The usual cause is a service sending as your domain without signing DKIM for it. Our SPF, DKIM and DMARC guide explains the fixes.

Only trust the Authentication-Results header added by your own mail provider, which is normally the top one. A sender can insert fake ones lower down.

Reading Received headers

Every server that handles a message adds a Received line at the top. So you read them from the bottom up to follow the message from sender to recipient:

Received: from a7-12.smtp-out.amazonses.com (a7-12.smtp-out.amazonses.com. [54.240.7.12])
        by mx.google.com with ESMTPS id ...
        for <sam@gmail.com>
        (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256);
        Mon, 16 Nov 2026 09:14:05 -0800 (PST)

Each line shows:

  • from: the server that handed the message over, its name and IP.
  • by: the server that received it.
  • with ESMTPS: SMTP with TLS. ESMTP without the S means the hop was not encrypted.
  • The timestamp: compare timestamps between lines to find where a message was delayed.

The top Received line was added by your own provider and is reliable. Lines below it were added by servers further away and could be invented by a spammer.

Return-Path, From and Reply-To

Three headers name addresses, and they are often different on legitimate mail:

  • From is what the reader sees.
  • Return-Path is where bounces go. Email services usually set it to their own subdomain on your domain, such as bounce@send.acme.com, so they can process bounces. See Return-Path.
  • Reply-To, if present, is where replies go.

A mismatch is not suspicious on its own. A From of support@yourbank.com with a Reply-To at a free webmail address is.

Using headers to find why mail went to spam

  1. Open the message in the spam folder and show the original.
  2. Check Authentication-Results. Any fail or none for SPF, DKIM or DMARC is the first thing to fix.
  3. Check the top Received line’s IP against blocklists.
  4. Check for List-Unsubscribe on marketing mail. Gmail and Yahoo require one-click unsubscribe for bulk senders.

If authentication passes and mail still lands in spam, the cause is usually reputation or content; the why emails go to spam guide covers that.

Headers on mail you send

When you send through Mailcandor, you can add your own headers with the headers object in POST /v1/emails, for example an X-Order-Id that your support team can search for later. Messages are DKIM-signed for your verified domain, and the Return-Path uses the send. subdomain set up when you add the domain, so SPF and DMARC can pass. Our free tools can check those records.

Questions

How do I view the original message headers in Gmail?

Open the email, click the three-dot More menu next to Reply, and choose Show original. Gmail shows a summary of SPF, DKIM and DMARC results at the top, then the full raw headers.

How do I view headers in Outlook?

In Outlook for Windows (classic), open the message, then File, Properties, and read the Internet headers box. In Outlook on the web and the new Outlook, open the message's More actions menu and choose View, then View message source or View message details.

What is the Authentication-Results header?

A header the receiving server adds to record whether the message passed SPF, DKIM and DMARC. It is defined in RFC 8601 and is the fastest way to see why a message went to spam.

Why read Received headers from the bottom up?

Each server that handles a message adds its Received line at the top. The bottom line is the first hop, closest to the sender, and the top line is the last hop, at the recipient.

Can email headers be faked?

Most can. A sender can write any From, Subject or Received line they like. Only headers added by the receiving server, such as its own top Received line and Authentication-Results, are trustworthy.

Related

Send with someone on your side.

Unlimited domains on every plan, a person before any block, and 3,000 emails a month free. Tell us what you send and we set you up within one business day.