有没有办法获取通过 SMTP 数据发送的完整原始电子邮件信息?
我可以获取 Outlook 电子邮件正文和 bodyHTML,并且可以使用 PR_TRANSPORT_MESSAGE_HEADERS 获取电子邮件标头。
寻找例如:
Return-Path: <[email protected]>
Received: from XXX
by mailbox.domain.com
From: sending user <[email protected]>
To: receiving user <[email protected]>
Date: Wed, 9 Oct 2024
Hi receiver,
more message contents
Sincerely
sending user