The name and address you see at the top of an email are whatever the sender chose to type. The header underneath, which most people never open, records how the message actually travelled and whether the receiving mail server could verify it. For anyone who handles payments, a few minutes with the header can be the difference between paying a real supplier and paying a fraudster.
The stakes are not small. The FBI's Internet Crime Complaint Center reported in September 2024 that business email compromise, in which criminals impersonate suppliers, executives or partners to redirect payments, accounted for more than 55 billion US dollars in exposed losses worldwide between October 2013 and December 2023. This guide shows you how to open and read a header in Gmail and Outlook, what the important lines mean, and walks through a fake-invoice example.
How do you view the full email header?
Gmail (browser)
- Open the email.
- Next to Reply, click More (the three dots), then Show original.
- The full header opens in a new tab. Use Copy to clipboard to copy it, and keep the original email in the mailbox.
Google also offers a free analyser in its Admin Toolbox (Messageheader), where you can paste the header to see the hops laid out.
Outlook
- New Outlook and Outlook on the web: open the message, select the More actions (three dots) menu, then View and View message details.
- Classic Outlook for Windows: double-click the message to open it in its own window, then File and Properties. The header is in the Internet headers box. Copy it into Notepad to read it comfortably.
Which header lines matter?
A raw header is long and intimidating, but only a handful of fields answer the question "is this really from who it claims?"
| Field | What it tells you | Can the sender fake it? |
|---|---|---|
| From | The address shown to you | Yes, freely |
| Reply-To | Where your reply will actually go | Yes, and fraudsters use it |
| Return-Path | The envelope sender (bounce address) used in the SMTP conversation; this is the domain SPF checks | Set by the sending system |
| Received | One line added by each server that handled the message | The lines added by your own provider's servers are reliable; lower lines can be forged |
| Authentication-Results | The receiving server's verdict on SPF, DKIM and DMARC | The one added by your own provider is trustworthy |
| DKIM-Signature | A cryptographic signature; the d= value names the signing domain | Only someone with the domain's private key can produce a valid one |
| Message-ID | An identifier assigned when the message was created; often hints at the sending system | Yes |
Reading Received lines
Each mail server that handles a message adds a Received line at the top. So you read them from the bottom up to follow the journey from sender to you. Each line typically says "from [server] by [server] with [protocol]; [date]". Start from the top and work down through the lines added by your own provider (Google or Microsoft servers) until you reach the first server outside it: that is the machine that handed the message to your provider, and it is the most reliable clue to the true origin. Lines below that point were added by systems you cannot verify and may be invented.
Reading SPF, DKIM and DMARC results
The Authentication-Results field, defined in RFC 8601, is added by a receiving mail server to report the outcome of authentication checks. It looks like this:
Authentication-Results: mx.google.com; spf=pass smtp.mailfrom=...; dkim=pass header.d=...; dmarc=pass header.from=...
- SPF checks whether the server that sent the message is authorised by the domain in the envelope sender (Return-Path). Results include pass, fail, softfail and neutral, among others.
- DKIM checks a cryptographic signature. A pass means the signed parts of the message were not altered and the signature belongs to the domain in d=.
- DMARC, defined in RFC 7489, ties these to the visible From address. A message passes DMARC only if SPF or DKIM passes for a domain that aligns with the From domain. A domain owner publishes a policy of none (monitor only), quarantine or reject for messages that fail.
The key insight: SPF and DKIM can both pass for a completely different domain. A fraudster sending from their own lookalike domain will get spf=pass and dkim=pass for that domain. That is why you must check which domain passed, not just the word "pass", and why DMARC alignment matters.
Worked example: the fake invoice
Here is a typical business email compromise pattern. The names, domains and addresses below are illustrative. Your accounts team receives this:
From: "Ravi Kumar, Accounts" <accounts@supplier-example.in>
The email says the supplier's bank account has changed because of an "audit", attaches a PDF invoice with new bank details, and asks for payment today. The display name and signature match the real contact. Here is what the header shows, with the noise removed:
Reply-To: ravi.accounts.supplier@freemail-example.com
Return-Path: <billing@supp1ier-example.in>
Authentication-Results: mx.google.com; spf=pass smtp.mailfrom=supp1ier-example.in; dkim=pass header.d=supp1ier-example.in; dmarc=fail header.from=supplier-example.in
Received: from mail.supp1ier-example.in (203.0.113.45) by mx.google.com ...
Reading it step by step:
- Reply-To differs from From. Any reply, including your "please confirm the new account", goes to a free webmail address. This alone justifies stopping.
- The envelope domain is a lookalike. "supp1ier" uses the digit 1 in place of the letter l. Lookalike domains also use extra hyphens, swapped letters, or a different ending.
- SPF and DKIM pass, but for the lookalike. The fraudster set up email authentication correctly on their own domain. The passes prove nothing about the real supplier.
- DMARC fails for the real domain. The visible From domain did not align with any authenticated domain. If the real supplier had published a reject policy, this message might have been blocked outright; here it got through, which suggests their policy is none or quarantine.
- The first external Received line shows the true sending server, which belongs to the lookalike domain, not the supplier's usual mail provider.
Verdict: fraudulent. The right response is not to reply to the email. Phone the supplier on a number you already have on file, not one in the email, and confirm whether their bank details have changed.
A quick checklist for finance teams
- Does Reply-To match From? If not, why?
- Read the sender domain letter by letter. Compare it with earlier genuine emails from the same supplier.
- In Authentication-Results, which domain passed SPF and DKIM? Does DMARC pass for the From domain?
- Has the first external Received line changed compared with the supplier's earlier emails?
- Is the email asking for a change of bank details, urgency, or secrecy? Treat that as a reason to verify by phone, whatever the header says.
Limits of header analysis
Header analysis catches spoofing and lookalike domains well. It does not catch a genuinely compromised mailbox: if a criminal has logged into your supplier's real account, the email will pass every check because it really did come from their system. That is why the strongest control is procedural. Never change payment details on the strength of an email alone; verify through a known phone number, and require a second person to approve changes. The FBI's advisory makes the same point: verify changes in account information through secondary channels or two-factor authentication. If a fraudulent payment has already gone, contact your bank immediately to request a recall, and in India, report it on 1930.
Protect your own domain too
Fraudsters can just as easily pretend to be you to your customers. Publish SPF and DKIM for every system that sends mail as your domain, then move your DMARC policy from none to quarantine and eventually reject once legitimate mail is confirmed to pass. Email authentication is worth checking as part of any security testing and remediation exercise.
How Cehpoint can help
If your company has paid a fake invoice or suspects a mailbox compromise, our cyber crime investigation team can investigate with court-admissible digital forensics, looking at headers, mailbox audit logs and login records to establish whether the email was spoofed or sent from a compromised account, and preserving the evidence properly. To detect and respond to threats on an ongoing basis, see our managed SOC and detection and response service.