Email header analyzer
Everything runs in your browser; nothing is sent or stored.
- Paste the original message headers into the "Message headers" field. You can also paste a whole message, and the analysis stops at the first empty line, where the message body starts.
- The "Message details" section shows the sender, recipient, subject, and date, with an alert when the reply address differs from the sender address.
- The "Sender authentication" section shows the SPF, DKIM, and DMARC results, with an explanation and the domain that was checked. The results come from the topmost Authentication-Results header that includes the check. When there is none, ARC-Authentication-Results is used, and for SPF also Received-SPF.
- For the "Match with the sender domain" line, the organizational domain is found by a simple rule: the last two labels of the domain, or three under suffixes such as co.il, org.il, ac.il, gov.il, co.uk, and com.au. This is an approximation, not the full Public Suffix List.
- The "Delivery path" section shows the hops in order, and a long delay at any hop is flagged. Each server adds a Received header at the top of the message when it receives it, so the first hop is the bottom Received header and the last hop is the top one. Times are shown in the local time zone, with the time zone of the header in parentheses.
- The "Spam indicators" section shows the headers as is, and the meaning of the values depends on the filtering system that added them.
- In the "All headers" section, you can search by header name or value and copy each header separately.
- The analysis is based only on the pasted headers. Headers added before the message reached the receiving server, including early Received headers, can be forged. The reliable source for authentication results is the Authentication-Results header added by the receiving server.
What are email headers
Every email message includes headers that you do not see when you read it. Headers such as From, To, Subject, and Date are written by the sender's mail client, and headers such as Received and Authentication-Results are added along the way by the servers that pass the message on. Values with accented letters or in other languages, such as the sender's name or the subject, are usually encoded in the =?UTF-8?B?...?= format, and the "Message details" section shows them decoded. Analyzing the headers helps you find out why a message landed in the spam folder, why it arrived late, and whether it really came from the domain in the sender address.
Reading the delivery path
For each hop on the path, the analyzer shows the sending server and its IP address, the receiving server, the protocol, the encryption, and the time the message was received. The ESMTPS and ESMTPSA protocols indicate a TLS-encrypted connection, and the letter A indicates that the sender logged in with a username and password. The sender's login usually appears at the first hop, where the sender's mail client hands the message to the server. The delay at each hop is the difference from the time at the previous hop. A negative delay usually means that a clock on one of the servers is out of sync, not that delivery failed.
SPF, DKIM, and DMARC results
A message passes the DMARC check when SPF or DKIM passed for a domain that aligns with the domain in the sender address (From). For messages sent through email marketing platforms, SPF is usually checked for the platform's domain, which appears in the return address (Return-Path), so the message passes DMARC only if it is DKIM-signed for the sender's domain. The analyzer shows alignment at two levels: a domain identical to the sender domain, or a domain that matches it at the organizational domain level, such as news.example.com and example.com.
Common values in the Authentication-Results header
spf=pass smtp.mailfrom=bounce.example.netSPF passed for the domain in the return address. When that domain does not align with the sender domain, the SPF result does not help the message pass DMARC.spf=softfailThe sending server is not authorized by the SPF record, but the record ends in ~all, so the message is usually not rejected.dkim=pass header.d=example.comA valid DKIM signature for the example.com domain, and the signed parts of the message were not changed after signing.dkim=failThe DKIM signature does not match the message content. The common cause is a change to the message on the way, such as a footer added by a mailing list.dmarc=pass (p=reject)The DMARC check passed, and the domain owner's policy is to reject messages that fail the check.dmarc=fail (p=quarantine)The DMARC check failed, and the domain owner's policy is to quarantine the message, usually in the spam folder.dmarc=noneThe sender domain has no DMARC record, so the check was not performed.
With our business email service, an SPF record and DKIM signing are set up automatically for your business domain, and the recipients' mail servers check both.
Email header analyzer FAQ
How do I copy the original headers of a message?
In most mail clients and webmail services, the option to show the headers is in the menu of the open message, under a name such as "Show original" (Gmail), "View message source" or "View message details" (Outlook), "Raw Source" (Apple Mail), or "View Source" (Thunderbird). You can also save the message as an .eml file and open the file in a text editor.
Which headers in a message can I trust?
Not every header in a message is reliable, because the sender can forge any header added before the message reached the receiving server. That is why the authentication results are taken from the topmost Authentication-Results header that includes the check.
Why is a result taken from the ARC-Authentication-Results header?
The ARC-Authentication-Results header keeps the authentication results as they were checked before the message was forwarded, for example by a mailing list or by automatic forwarding to another address. The analyzer uses the ARC-Authentication-Results header only when no Authentication-Results header includes the check. The source of each result is shown in the "Result source" row.
Why does a message arrive late, and how do I find where the delay happened?
The "Delivery path" section shows the delay at each hop, and a delay of more than 5 minutes is flagged. A long delay at a specific hop usually comes from a message queue on the sending server, or from a temporary rejection by the receiving server, which makes the sending server try again a few minutes later. A large gap between the time in the Date header and the time at the first hop may come from the sender's mail client, if it was offline when the message was sent.
Why does the time shown differ from the time in the Date header?
The date in the "Message details" section and the times in the "Delivery path" section are shown in the time zone of the device the page is opened on. Below the date, the original wording from the header is also shown, with the UTC offset it was written in.
Does the analyzer decide whether a message is spam?
No. The analyzer does not decide whether a message is spam. The "Spam indicators" section shows, as is, the headers added by filtering systems, such as X-Spam-Status and X-Spam-Score. The X-Spam-Status header usually includes the score the message received (score) and the threshold above which the message is marked as spam (required).