gpt4 book ai didi

email - 电子邮件 X header 的最大大小

转载 作者:行者123 更新时间:2023-12-03 00:30:11 25 4
gpt4 key购买 nike

我们正在考虑将一些元数据添加到电子邮件的 X header 中。这些电子邮件供内部系统使用,并将托管在 Exchange 服务器上。

我们可以在 X-Header 中存储的数据量是否有最大大小?

是否有我应该了解的限制,例如特殊字符?

最佳答案

仅限美国 ASCII 字符。

这是由 RFC 822 定义的.

标准中对 header 正文的长度没有限制,但存在行长度限制,这对 header 名称的长度施加了限制。

There are two limits that this specification places on the number ofcharacters in a line. Each line of characters MUST be no more than998 characters, and SHOULD be no more than 78 characters, excludingthe CRLF.

但是,您可以使用“折叠”将 header 主体扩展到单行之外。然后接收者“展开”线条。

An unfolded header field has no length restriction and therefore maybe indeterminately long.

标题名称不能折叠,因此标题名称的长度不能超过行限制。

请注意,尽管标准对 header 主体的总长度没有限制,但实际实现可能会施加人为限制。

关于email - 电子邮件 X header 的最大大小,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2721605/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com