【发布时间】:2017-12-06 10:04:07
【问题描述】:
我正在尝试使用 Gmail API 回复现有电子邮件:
由于我在现有邮件中没有我想要回复 References, In-Reply-To 的标题,因此我使用 Message-ID 代替我填写的内容正在发送
DB5PR03MB1206D3A24F124BDF43A5C6E683D60@DB5PR03MB1206.eurprd03.prod.outlook.com 是现有邮件的 Message-ID 标头。
我创建了以下 RFC-802:
Content-Type: text/plain; charset="UTF-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
References: <DB5PR03MB1206D3A24F124BDF43A5C6E683D60@DB5PR03MB1206.eurprd03.prod.outlook.com>
In-Reply-To: <DB5PR03MB1206D3A24F124BDF43A5C6E683D60@DB5PR03MB1206.eurprd03.prod.outlook.com>
Subject: sdfasdf
to: "xxx@gmail.com" <aaa@gmail.com>,<xxxx@xxx.me>
from: aaa@gmail.com
aaaaaaaaa
然后我得到一个错误:
发生错误消息未发送。
我读过这个post 但这篇文章假定我总是有以下两个标题:
- 参考文献
- 回复中
【问题讨论】:
-
你看到这个SO post了吗?它的实现是在 JS 中,但它可能会给你一些想法。