Every email carries a hidden travel log. Behind the friendly “From” name and subject line, the message records every server it passed through and whether it passed security checks. Learning to read that log helps you troubleshoot delivery problems and spot fake emails pretending to be your bank, your registrar, or your own business.
This guide has email headers explained step by step: what they are, how to view them, how to read the Received lines, how to check authentication results, and how to spot spoofed mail.
What email headers are
Headers are lines of metadata added to a message by the sender’s software and by each mail server along the way. Common fields include:
- From, To, Subject, Date — the familiar ones (and the easiest to fake).
- Return-Path — where bounces go, often revealing the real sending system.
- Reply-To — where replies go, sometimes different from the From address.
- Received — one line added by each server that handled the message.
- Authentication-Results — SPF, DKIM, and DMARC verdicts added by the receiving server.
- Message-ID — a unique identifier for the email.
How to view headers in your inbox
- Gmail: open the message, click the three dots, and choose Show original. Gmail also shows a handy summary of SPF, DKIM, and DMARC at the top.
- Outlook (web): open the message, choose the three dots → View → View message details.
- Outlook (desktop): open the message, then File → Properties → Internet headers.
- Apple Mail: View → Message → All Headers.
Paste long headers into a header analyzer tool (Google Admin Toolbox Messageheader or MXToolbox) for an easier-to-read view.
Reading the Received lines
Each server adds a Received line at the top, so you read them from the bottom up to follow the message’s journey:
- The lowest Received line shows where the message started — often the sender’s mail server or app.
- Each line above shows the next hop, with server names, IP addresses, and timestamps.
- The top line shows your own provider receiving the message.
Large gaps between timestamps reveal where delays happened. An unexpected server name or country near the bottom can suggest the message didn’t come from where it claims.
Checking authentication results
Look for the Authentication-Results header:
- spf=pass — the sending server is allowed to send for that domain.
- dkim=pass — the message has a valid signature and wasn’t altered.
- dmarc=pass — the visible From domain lines up with SPF or DKIM.
Failures on your own emails point to DNS problems you need to fix. Learn what each check means in Email Deliverability: SPF, DKIM and DMARC in Plain English, and see How to Log and Test Emails Sent From WordPress for testing WordPress emails.
Using headers to spot fakes
Warning signs of a spoofed or phishing email:
- SPF, DKIM, or DMARC fail for a domain that should be well protected, like a bank.
- The Return-Path or Reply-To uses a completely different domain from the From address.
- The first Received line shows an unrelated server or residential IP address.
- The display name says “PayPal” but the actual address is a random domain.
Headers are one part of the picture — combine them with the content red flags in Phishing Emails: How to Spot Them in 5 Seconds.
Key takeaways
- Headers show every server a message passed through.
- Read Received lines from the bottom up.
- SPF, DKIM, and DMARC results appear in Authentication-Results.
- Mismatched domains and failed checks are classic signs of spoofing.