Microsoft 365 Email Header Analyzer

A free browser-based tool for analyzing Microsoft 365 email headers, tracing message delivery, identifying delays, and reviewing authentication results.

Trace Email Delivery and Authentication

Email headers contain detailed information about how a message was delivered, which mail servers handled it, and whether it passed important authentication checks. This free browser-based tool organizes that information into a readable summary, helping Microsoft 365 administrators review the delivery path, identify delays between mail servers, and examine SPF, DKIM, and DMARC results. Paste the raw message headers below to begin. If you're not sure how to get the headers, the steps for every version of Outlook are right under the tool.

Paste Message Headers

Paste the complete raw headers from an email to analyze its delivery path, hop-by-hop timing, and available SPF, DKIM, and DMARC authentication results. The analyzer organizes the header information into separate summary, authentication, delivery path, and complete header views.

Paste the raw headers from an email to see its delivery path, hop-by-hop delays, and SPF, DKIM, and DMARC authentication results. Everything is parsed in your browser, nothing is uploaded.

Tip: in Outlook open the message, then File › Properties › Internet headers. In Outlook on the web, open the message › (•••) › View › View message details.

Summary

Authentication

Delivery path

#FromByWithTimeDelay
All headers (0)

Runs entirely in your browser. Headers you paste are never sent anywhere. Not affiliated with or endorsed by Microsoft.

How to Get Message Headers

The tool needs the full raw headers, not just the From and Subject lines you see at the top of an email. Every version of Outlook hides them in a slightly different place. Here's where to find them.

One tip before you start: get the headers from the recipient's copy of the message. The sender's copy in Sent Items doesn't have the delivery path or the authentication results, because those get added as the message travels to the recipient. If someone else received the message, ask them to send you the headers, or to forward the original email to you as an attachment.

Outlook on the Web

  1. Open the message.
  2. Select More actions (the three dots) at the top right of the message.
  3. Select View, then View message details.
  4. Click inside the box, press Ctrl+A to select everything, and press Ctrl+C to copy it.
Outlook on the web message More actions menu with View and View message details highlighted
In Outlook on the web, View message details is under More actions and then View.

A Message details window opens with the raw headers. They start with lines that begin with Received, which is exactly what the analyzer needs.

Outlook on the web Message details window showing raw message headers starting with a Received line
The Message details window from a test message. Copy everything in the box and paste it into the analyzer.

New Outlook for Windows

New Outlook works the same way as Outlook on the web.

  1. Open the message.
  2. Select More actions (the three dots) at the top of the message.
  3. Select View > View message details.
  4. Select everything in the window and copy it.

Classic Outlook for Windows

  1. Double-click the message to open it in its own window.
  2. Select File > Properties.
  3. Click in the Internet headers box at the bottom, press Ctrl+A, then Ctrl+C.

The Internet headers box is small and easy to miss. It's at the bottom of the Properties window, and it scrolls. Pressing Ctrl+A inside it grabs the whole thing, even the part you can't see.

Outlook for Mac

In Outlook for Mac, right-click the message in the message list and select View Source. The headers are at the top of the source, before the message body. Copy from the top down to the first blank line. The analyzer stops at the first blank line anyway, so it's fine if you copy the whole source.

Outlook Mobile and Other Phone Apps

The Outlook app for iPhone and Android doesn't give you a way to view the full message headers. Microsoft's own guidance is that most mobile devices don't have a good way to get headers, and to sign in to the web version of your email on a computer instead. Open Outlook on the web, find the same message, and follow the steps above.

Gmail and Outlook.com

If you're checking a message that landed in a personal mailbox, the headers are easy to get there too. In Gmail, open the message, select the three dots next to Reply and choose Show original. In Outlook.com, right-click the message and select View message source, or use the same View message details steps as Outlook on the web.

Reading Your Results

Once you paste the headers and select Analyze headers, the results show up in four sections: Summary, Authentication, Delivery path and All headers. Select Load example in the tool if you want to see what this looks like before using a real message.

Email Header Analyzer results showing a summary, SPF, DKIM, DMARC and compauth pass badges, and a delivery path table with delay bars
Results from the built-in example. The badges show authentication at a glance, and the bars in the Delay column make slow hops easy to spot.

Here's what I look at first:

  • The Authentication badges. Green means pass. If DMARC or compauth shows fail, that's often the reason a message landed in Junk or got quarantined.
  • The longest bar in the Delay column. That's the hop where the most time was spent. In the example, most of the delay happened on the second hop, between the sender's mail server and Microsoft 365.
  • The first hop. The From column on hop 1 shows where the message really started, which can be very different from the From address in the Summary.

Keep in mind that each server stamps its own time. If a server's clock is off, you can see odd delays, or even a hop that looks like it happened before the one before it. A delay of a few seconds is normal. Minutes or hours on one hop is worth looking into.

How the Email Header Analyzer Works

Every email includes a set of message headers containing technical details about its delivery. As a message travels from its source to its destination, mail systems add routing and processing information to the header.

This analyzer takes the raw header data and presents the available information in a more readable format. The results are separated into a summary, email authentication details, the message delivery path, and a complete view of the parsed headers.

Review the Delivery Path

The delivery path shows the mail systems recorded in the message headers. Each available hop includes the sending system, receiving system, transfer method, recorded time, and calculated delay.

Reviewing the path can help an administrator see how a message moved between mail systems and locate a hop where an unusual delay may have occurred. It can also make lengthy Received headers easier to review by presenting the recorded information in chronological, structured rows.

Examine SPF, DKIM, and DMARC Results

The authentication section displays available SPF, DKIM, and DMARC results found in the message headers.

  • SPF results indicate whether the sending mail system was permitted to send mail for the domain being evaluated.
  • DKIM results relate to the cryptographic signature included with the message.
  • DMARC results reflect the available DMARC evaluation recorded in the headers.
  • Compauth is Microsoft's composite authentication result. It combines SPF, DKIM, DMARC and other signals into one verdict, and it only shows up on messages that passed through Microsoft 365.

The analyzer reports the authentication information contained in the pasted headers. The presence and level of detail available will depend on the headers added by the mail systems that processed the message.

Understand Message Delays

Email delivery is not always immediate. A message may pass through several mail systems, filtering services, security platforms, or routing points before reaching its final destination.

The delivery path calculates the available time difference between recorded hops, making potential delays easier to find. This can be useful when investigating a message that arrived later than expected or when determining where time was spent during delivery.

A delay shown between two header entries identifies a time difference in the recorded data. It does not necessarily prove that either mail system malfunctioned. Additional investigation may be required to determine the reason for the delay.

View the Complete Header

The All headers section provides access to the complete set of parsed header fields. This is useful when the information needed is not included in the summary or dedicated authentication and delivery sections.

Complete headers may include message identifiers, timestamps, routing information, authentication results, content details, security filtering data, and other fields added during delivery. The exact fields vary depending on the sending service, receiving service, and systems that handled the message.

Microsoft 365 Headers Worth Knowing

If a message went through Microsoft 365, open All headers and look for a few headers Microsoft adds. They often explain why a message went to Junk, got quarantined, or skipped filtering when it shouldn't have.

X-Forefront-Antispam-Report

This is the one I check first. It's a long line of values separated by semicolons. The parts that matter most:

  • SCL is the spam confidence level Microsoft gave the message.
  • SFV is the spam filtering verdict. SFV:SPM means spam filtering marked it as spam. SFV:NSPM means it wasn't spam.
  • CAT is the category. CAT:SPM is spam, CAT:HSPM is high confidence spam, and CAT:SPOOF points to a spoofing or DMARC problem.

The SFV values that start with SK are the interesting ones, because they mean filtering was skipped. SFV:SKN means a mail flow rule bypassed spam filtering. SFV:SKI means the sending IP is on your connection filter's IP Allow List. SFV:SFE means the sender is on the recipient's Safe Senders list, and SFV:BLK means they're on the recipient's Blocked Senders list. If a phishing message got through, an SK value is often the reason.

Compauth reason codes

In the Authentication-Results header, compauth=fail reason=000 means an explicit DMARC failure. Reason 001 means an implicit authentication failure caught by spoof intelligence. If a legitimate sender keeps failing, their SPF, DKIM or DMARC setup is usually the problem, not your filters.

X-MS-Exchange-Organization-RuleID

If you see this header, a mail flow rule in Exchange Online touched the message. That's useful when you're trying to figure out why a message was redirected, stamped or allowed through.

Microsoft keeps a full list of these values in its anti-spam message headers documentation, linked in the sources at the bottom of this page.

Headers vs Message Trace

Headers only exist on messages that were actually delivered. If a message never showed up at all, there are no headers to look at. That's when you need message trace in the Exchange admin center instead. Message trace can tell you whether a message was received, quarantined, rejected or delivered, even if the recipient never saw it.

I use both together. Message trace tells me what happened, and the headers tell me why.

Privacy and Local Processing

The analyzer runs entirely in your browser. Headers pasted into the tool are not uploaded or sent to SeanShares.

Email headers may contain email addresses, mail server names, IP addresses, message identifiers, tenant-related information, and other details associated with the sender, recipient, or mail environment. Even though this tool processes headers locally, review and remove sensitive information before sharing header data or analysis results with other people.

Intended Use

This tool provides a more accessible way to review the technical information contained in email headers. It can assist Microsoft 365 administrators, security teams, support personnel, and application owners when investigating message delivery and authentication results.

The analyzer presents information recorded in the supplied headers. Results should be considered alongside Microsoft 365 message tracing, mail flow configuration, security platform data, and other available diagnostic information when conducting a broader investigation.

FAQ

Where do I find email headers in Outlook?

In new Outlook and Outlook on the web, open the message and select More actions > View > View message details. In classic Outlook, open the message and select File > Properties, then copy the Internet headers box.

Can I see email headers on my phone?

Not in the Outlook mobile app. Sign in to Outlook on the web from a computer and use View message details instead.

Is it safe to paste headers into this tool?

The analyzer runs entirely in your browser and doesn't upload anything. Headers can still contain email addresses and server details, so be careful about sharing screenshots of the results.

Why does the tool show "not found" for SPF or DKIM?

The headers you pasted don't include that result. That usually means the headers came from the sender's copy of the message, or the receiving server didn't record that check. Get the headers from the recipient's copy and try again.

Why does a hop show a huge delay?

Either that server really held the message, which happens with queues, filtering or retries, or the server's clock is off. Compare it with message trace in the Exchange admin center to see which one it is.

What if the email never arrived?

There are no headers for a message that wasn't delivered. Use message trace in the Exchange admin center to find out whether it was rejected, quarantined or never sent.

If you're working through Outlook problems, these might help too:

Sources: Microsoft Support, View internet message headers in Outlook; Microsoft Learn, Anti-spam message headers in cloud organizations; Microsoft Learn, Troubleshoot common anti-spam policy issues; Microsoft Learn, Message Header Analyzer.

SeanShares is not affiliated with or endorsed by Microsoft.