【发布时间】:2021-01-21 17:47:09
【问题描述】:
我能够在 Delphi 中使用 TIdMessage 构建一个 .eml 文件。
它有一个这样的标题:
X-Unsent: 1
Subject: Testiing Subject
To: "testeing@mail.com" <testing@mail.com.br>
MIME-Version: 1.0
Date: Tue, 6 Oct 2020 15:43:50 -0300
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
但是当我使用 Outlook 和 Thunderbird 打开文件(通过 Delphi 代码使用 ShellExecute() 或文件本身)时,都像收到的电子邮件一样打开它,并且不显示发送消息的选项。
据我所知,在网上搜索时,X-Unsent:1 标头应该可以解决问题。
所以我的问题是,这个标志不再起作用了吗?如果没有,我应该怎么做?
【问题讨论】:
-
我不能代表 Outlook,但对于 Thunderbird,请参阅 Bug #166541: Add support for X-Unsent property in .eml files 和 X-Unsent support 附加组件。
-
Outlook 尊重
X-Unsent: 1,我只是用上面的标题试了一下,Outlook 在编辑模式下打开了它。 -
X-Unsent 插件无法与最新版本的 ThunderBird 一起使用,这很可惜。 Outlook 是我的错误,我实际上在 Outlook 帐户中使用了 Windows 10 的电子邮件应用程序,但它不起作用。但是,当我看到您的评论时,我在 Outlook 应用程序中进行了尝试,结果非常好,这是一个好消息。非常感谢您的帮助
标签: email delphi outlook thunderbird