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 fromacme.com.header.sis 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 ofsend.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 domainacme.commatched (aligned with) at least one passing result. Here DKIM is signed byacme.comexactly, and the SPF domainsend.acme.comis 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.
ESMTPwithout 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
- Open the message in the spam folder and show the original.
- Check
Authentication-Results. Anyfailornonefor SPF, DKIM or DMARC is the first thing to fix. - Check the top Received line’s IP against blocklists.
- Check for
List-Unsubscribeon 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.