如何就地更改电子邮件的标头(通过 IMAP)

问题描述 投票:0回答:1

我的收件箱中有一些没有日期标题的电子邮件。这就是为什么它们在我的 MUA (Mozilla Thunderbird) 中显示不正确。所以我想解决这个问题。

有一个扩展,我可以使用它手动编辑消息的标题。然而,它真正的作用是创建一条新消息并删除旧消息。

有没有一种方法可以通过 IMAP 或其他方式修改消息?

我如何使用该方法,而不手动与服务器对话。

date email imap malformed
1个回答
0
投票

不。根据定义,IMAP 消息是不可变的。如果不是,没有人知道他们是否需要重新同步。

来自 RFC 3501,2.3.1.1,声明 4:

         4) The combination of mailbox name, UIDVALIDITY, and UID
        must refer to a single immutable message on that server
        forever.  In particular, the internal date, [RFC-2822]
        size, envelope, body structure, and message texts
        (RFC822, RFC822.HEADER, RFC822.TEXT, and all BODY[...]
        fetch data items) must never change.  This does not
        include message numbers, nor does it include attributes
        that can be set by a STORE command (e.g., FLAGS).
© www.soinside.com 2019 - 2024. All rights reserved.