ToolHub
中文
Light
GitHub
返回首页
/
安全编码
/
邮件 Header 解析器
加载中...
邮件 Header
From: Example <hello@example.com> To: User <user@example.com> Subject: Test Date: Tue, 12 May 2026 10:00:00 +0800 Authentication-Results: mx.example.com; spf=pass smtp.mailfrom=example.com; dkim=pass header.d=example.com; dmarc=pass Received: from mail.example.com (mail.example.com [203.0.113.10]) by mx.example.com with ESMTPS id abc123
解析结果
复制
{ "from": "Example <hello@example.com>", "to": "User <user@example.com>", "subject": "Test", "date": "Tue, 12 May 2026 10:00:00 +0800", "receivedChain": [ "from mail.example.com (mail.example.com [203.0.113.10]) by mx.example.com with ESMTPS id abc123" ], "authentication": { "spf": "pass", "dkim": "pass", "dmarc": "pass" }, "raw": { "from": [ "Example <hello@example.com>" ], "to": [ "User <user@example.com>" ], "subject": [ "Test" ], "date": [ "Tue, 12 May 2026 10:00:00 +0800" ], "authentication-results": [ "mx.example.com; spf=pass smtp.mailfrom=example.com; dkim=pass header.d=example.com; dmarc=pass" ], "received": [ "from mail.example.com (mail.example.com [203.0.113.10]) by mx.example.com with ESMTPS id abc123" ] } }