To check an email's headers, open the message and choose the option that shows its full source: in Gmail it is the three-dot menu and Show original, in Outlook it is the message properties (Internet headers), and in Yahoo it is the more-actions menu and View raw message. Copy the header block, then read the Received lines from the bottom up to follow the route and the Authentication-Results line to see whether SPF, DKIM and DMARC passed.
Menu labels move around as apps are updated, so treat the paths below as a guide and use the app's search or help if a label differs. The reading method, which is what matters, does not change.
How to view headers in each mail app
| App | Where to look (labels can change) |
|---|---|
| Gmail (web) | Open the message, click the three-dot menu at the top right of the message, choose Show original. The page shows SPF, DKIM and DMARC results and the raw text, with a Copy to clipboard button |
| Outlook for Windows (classic) | Double-click the message to open it in its own window, then File, Properties, and read the Internet headers box |
| Outlook on the web and new Outlook | Open the message, use the more-actions menu (three dots), then View, View message details or View message source, depending on version |
| Yahoo Mail (web) | Open the message, click the more-options menu (three dots) and choose View raw message |
| Apple Mail (Mac) | Select the message, then the View menu, Message, All Headers or Raw Source |
| Thunderbird | View menu, Message Source, or press the keyboard shortcut for source |
| Mobile apps | Often limited. Open the message in a desktop or web client instead |
If you are investigating a delivery or spoofing problem, copy the whole block, not a screenshot, so you can search it. Before sharing headers with anyone outside your team, remove addresses and IPs you consider private. Deeper background on each field is in what email headers are and debugging delivery with headers.
A sample header block
Delivered-To: [email protected]
Received: by 2002:a05:6a00:1234:b0:1 with SMTP id x1csp1234;
Tue, 25 Jun 2024 09:14:07 -0700 (PDT)
Received: from relay.sender.example (relay.sender.example. [198.51.100.25])
by mx.example.org with ESMTPS id abc123
for <[email protected]>; Tue, 25 Jun 2024 09:14:06 -0700 (PDT)
Authentication-Results: mx.example.org;
spf=pass smtp.mailfrom=bounce.sender.example;
dkim=pass header.d=sender.example;
dmarc=pass header.from=sender.example
Return-Path: <[email protected]>
Received: from app01.sender.example ([10.0.0.5])
by relay.sender.example with ESMTP id 98765;
Tue, 25 Jun 2024 16:14:05 +0000
From: Billing <[email protected]>
Reply-To: [email protected]
To: [email protected]
Subject: Your receipt
Date: Tue, 25 Jun 2024 16:14:04 +0000
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="b1"All names and addresses above are documentation examples. Notice that the topmost Received line is the receiving system's own and the lowest is where the message first entered the mail system.
Read the route: Received headers
- Find the lowest
Receivedline. It was added by the first server that handled the message and usually names the originating host. - Read upward. Each line says which server received the message (
by), from whom (from), over which protocol (with) and when. - Compare timestamps between hops. A large jump marks where the message waited, for example in a queue or a greylisting deferral.
- Note the IP in square brackets. That is the address the next server actually saw, which is more trustworthy than the name the sender announced.
- Treat lines below your own receiving server as claims. Anyone who sends a message can add fake Received lines at the bottom before it enters the network.
Look at with ESMTPS versus with ESMTP: the S means the hop used TLS. For a full walkthrough with delay examples see Received headers and causes of email delay.
Read the verdict: Authentication-Results
This header is added by the receiving server after it checks the message, so it is the one to trust. Look for three results.
| Result | Meaning when pass | Common failure and where to look |
|---|---|---|
| spf | The sending IP is authorised for the domain in the envelope sender (smtp.mailfrom) | Unlisted IP or too many lookups. See SPF PermError |
| dkim | A valid signature from the domain in header.d verified | Body modified or key not published. See DKIM body hash failures |
| dmarc | SPF or DKIM passed and aligned with the visible From domain | Passing SPF/DKIM on a different domain. See DMARC alignment |
The format and possible values are in RFC 8601, and the individual result codes in the Authentication-Results header. A message can pass SPF for the bounce domain while the visible From domain is something else entirely, which is exactly what DMARC alignment is for.
Other fields worth reading
- From: the address shown to the reader. It can be forged unless DMARC protects the domain.
- Return-Path: the envelope sender, where bounces go. Added by the final receiving server from MAIL FROM. See Return-Path versus From.
- Reply-To: where your reply will go. A different domain from From is a common phishing signal, though also normal for newsletters and support tools. See Reply-To.
- Message-ID: a unique identifier created by the originating system. The domain part often reveals the sending platform. See Message-ID.
- Date: set by the sender's system, so it can be wrong or forged; compare it with the first Received timestamp.
- X- and ARC headers: vendor-specific additions, for example spam scores or forwarding authentication results. See ARC.
- List-Unsubscribe: present on well-run bulk mail. See List-Unsubscribe.
What headers can and cannot prove
Headers can show which server delivered a message to yours, whether authentication passed, and where delays happened. They cannot prove who typed the message, and everything below the topmost trusted hop can be fabricated. If you are judging whether a message is a phishing attempt, combine header checks with the content and the sender's behaviour; see how to recognize a phishing email. If you suspect abuse of your own domain, DMARC reports give a broader view than a single message.
Use headers to debug your own sending
- Send a test message from your system to a mailbox you control at a large provider.
- Open the original and confirm
spf=pass,dkim=passanddmarc=passfor your domain. - Check that the DKIM
header.dand SPFsmtp.mailfromdomains are the ones you expect, not the provider's shared domain. - Check the transport hops for TLS and for unexpected delays.
- Look for headers you did not intend to leak, such as internal hostnames and private IPs in your first Received line.
If you also want a structured view of delivery events rather than a one-off header, see tracing message events.
Common problems when reading headers
| Problem | Cause | What to do |
|---|---|---|
| No Show original option | Using a mobile app or a restricted account | Open in the web or desktop version |
| Headers look truncated | Copied from a preview or a screenshot | Copy the full raw text instead |
| No Authentication-Results line | Receiving server does not add one, or message was forwarded internally | Test with a Gmail, Outlook or Yahoo mailbox |
| Dates disagree between hops | Clock drift or time zone offsets | Convert all times to UTC before comparing. See clock sync |
| Sender IP is a private address | Internal hop inside the sender network | Use the first hop with a public IP |
| Header values contain odd characters | MIME encoded words | Decode them. See MIME encoded words |
Next steps
Once you can read the route and the authentication verdict, most delivery mysteries narrow down quickly: a failing SPF, DKIM or DMARC result points to DNS, a long gap between hops points to queueing or throttling, and a mismatch between From and Reply-To or Return-Path points to the sending platform's configuration. Keep a few known-good headers from your own mail as a baseline to compare against when something changes. If you send through a service such as MigoSMTP, the same checks apply, and its webhooks and logs add the delivery event side of the story.
Test the authentication behind your headers Check your SPF, DKIM and DMARC records and see why a result fails.
References and further reading
Frequently asked questions
How do I view email headers in Gmail?
Open the message, click the three-dot menu and choose Show original. The page displays the raw headers and the SPF, DKIM and DMARC results.
How do I see email headers in Outlook?
In classic Outlook for Windows, open the message in its own window and choose File, then Properties, to see the Internet headers. Outlook on the web has a View message details or source option in the more-actions menu.
In what order should I read Received headers?
From the bottom up. Each server adds its line on top, so the lowest Received line is the first hop.
Which header tells me if an email is authentic?
Authentication-Results, added by the receiving server, shows the SPF, DKIM and DMARC outcomes. It confirms domain authentication, not the identity of the person.
Can email headers be faked?
Yes. Lines added before the message reached your server, including fake Received lines and the From address, can be forged. Only your own server's lines are reliable.