📍 隆重推出 MapLeads:把 Google 地图、Bing 地图、Apple 地图变成你的客户名单。了解 MapLeads
免费工具

邮件头分析器

粘贴原始邮件头,即时查看 SPF、DKIM、DMARC 结果、完整投递路径、垃圾邮件评分与关键元数据——全部解析并加以说明。

粘贴你的邮件头

What Are Email Headers and What Do They Contain?

Every email message contains two parts: the visible body (the text, images, and HTML you read) and the technical headers that live above the body. Headers record the full routing history of the message, authentication results, spam scores, and metadata like the sender, recipient, subject, and timestamps. Most email clients hide headers from normal view, but they are always present and can be revealed through your mail client's "show original" or "view headers" option.

Analyzing email headers is one of the most reliable ways to diagnose delivery problems, investigate suspected phishing messages, and verify that your authentication setup (SPF, DKIM, DMARC) is working correctly for a real message.

How to Find Email Headers in Different Mail Clients

  • Gmail:Open the message, click the three-dot menu (⋮) in the top-right corner, and select "Show original". Copy all content from the popup.
  • Outlook (web):Open the message, click the three-dot menu, then View → View message source.
  • Apple Mail:Open the message, then View → Message → All Headers, or press Shift + Command + H.
  • Thunderbird:Open the message, then View → Headers → All.
  • Yahoo Mail:Open the message, click More → View Raw Message.

Copy everything from the first header line (usually Delivered-To: or Return-Path:) down to the blank line before the email body.

Key Headers to Look For

The most important headers for diagnosing delivery issues are:

  • Authentication-Results: Shows SPF, DKIM, and DMARC pass/fail results as evaluated by the receiving server. This is the most important header for diagnosing authentication failures.
  • Received: One entry per hop in the delivery path. Reading from bottom to top gives chronological order. Each entry usually includes the server hostname, IP address, and timestamp.
  • X-Spam-Score / X-Spam-Status: Added by spam filters like SpamAssassin. Shows the numeric score and which rules were triggered.
  • DKIM-Signature: The actual DKIM signature attached by the sending server. Contains the selector, domain, and cryptographic signature.
  • Return-Path: The envelope sender — the address used for bounce notifications, checked by SPF.
  • Message-ID: A unique identifier for the message, useful for tracking it through log files.

What Authentication Results Mean for Deliverability

A message showing spf=pass dkim=pass dmarc=pass in the Authentication-Results header has the best chance of inbox placement. Any failure here should be investigated. An SPF failure often means the sending IP is not listed in your SPF record. A DKIM failure may mean the signature is missing, expired, or the public key in DNS does not match the private key used for signing. A DMARC failure means neither SPF nor DKIM aligned with the From domain.

Header analysis tells you what happened with a specific message. To prevent problems before sending, use email verification on your list and verify your authentication configuration with our SPF, DKIM, and DMARC generator tools. For large lists, bulk verification and the validation API let you integrate checks into your workflow.

常见问题

1. 我的邮件头会发送到你们的服务器吗?

不会。本工具完全在你的浏览器中用 JavaScript 运行。你粘贴的邮件头仅在本地分析,绝不会传输到任何服务器。你的邮件内容与元数据全程保持私密。

2. 如何在 Gmail 中查看邮件头?

在 Gmail 中打开邮件,点击消息右上角的三点菜单,选择「显示原始邮件」,下一页顶部会显示原始邮件头。点击「复制到剪贴板」,或手动选中并复制邮件头内容。

3. SPF 失败但 DKIM 通过意味着什么?

SPF 检查发件服务器的 IP 地址。失败表示该 IP 不在发件域的 SPF 记录中——可能是邮件被转发,或通过未列入 SPF 的中继发送。DKIM 通过是好信号;若 DKIM 与 From 域对齐,单靠 DKIM 也可满足 DMARC。若 SPF 持续失败,请检查邮件是否被转发。

4. 为什么一封邮件会经过多台服务器?

Received 链路中常出现多个跳点,是因为邮件会经过多台服务器:发件方的出站 SMTP 服务器、可能的中继服务器、收件方的入站服务器,有时还有内部过滤服务器。每一跳都会添加一条 Received 头,这属于正常现象。若链路中间出现异常的外部中继,则可能表示转发或路由问题。

5. 什么是 Message-ID,为什么重要?

Message-ID 是发件邮件服务器在创建邮件时分配的唯一标识符。它帮助邮件系统追踪会话线程、检测重复,并关联投递日志。若需在服务器日志中追踪某条具体消息,Message-ID 是最关键的检索标识。

6. 邮件显示 DMARC 失败——如何修复?

DMARC 失败表示 SPF 与 DKIM 都没有产生对齐通过。请查看 Authentication-Results 头,确认哪些检查失败。对 SPF,可用 SPF 检查工具确认发送 IP 是否在 SPF 记录中。对 DKIM,可用 DKIM 检查工具确认 DKIM 记录是否正确发布。常见修复方式是把发送服务加入 SPF 记录,或在邮件服务商处启用 DKIM 签名。

相关工具

发送前先验证邮箱地址

认证问题只是影响送达的因素之一。无效地址会导致退信并损害发件人信誉。使用 BillionVerify 验证你的列表。

每日 100 次免费验证 · 99.9% SMTP 准确率 · 即时 API 访问 · 无需信用卡

99.9%
准确率
Real-time
API 速度
$0.00014
每封邮件
100/day
永久免费