来自 Microsoft 帐户的邮件消息中不存在文本/纯文本

text/plain not present in mail msg from microsoft account

提问人:jj_p 提问时间:9/23/2023 最后编辑:jj_p 更新时间:9/25/2023 访问量:25

问:

相同的消息从 microsoft 365 发送到我的 microsoft 365 和 到我的 gmail。但是,以不同的方式看待它们:在第一种情况下mutt

I   1   <no description>    [text/html, quoted, windows-1252, 32K]
A   2   somefile        [applica/pdf, base64, 8.4M]

而在第二个

I   1   <no description>    [multipa/alternativ, 7bit, 49K]
I   2   ├─><no description> [text/plain, quoted, windows-1252, 17K]
I   3   └─><no description> [text/html, quoted, windows-1252, 32K]
A   4   somefile        [applica/pdf, base64, 8.4M]

我用来同步我的邮件。包含mbsync.muttrc

alternative_order text/plain text/enriched text/html

我想知道两条消息结构的差异(至少如 所示)来自哪里,因为我在雇主的 microsoft 365 Web 界面中找不到任何处理此问题的设置,以及我是否可以做一些事情来解决这个问题,无论是作为最终用户还是将其上报给某个管理员。mutt

可能的参考: https://learn.microsoft.com/en-us/graph/api/message-get https://www.gmass.co/blog/gmail-api-html-plain-text-messages/

电子邮件 Outlook microsoft-graph-api gmail MIME 类型

评论

0赞 Luuk 9/23/2023
第二封电子邮件显示为 ?如果是这样,请将alternative_order更改为:text/plaintext/html text/enriched text/plain
0赞 jj_p 9/23/2023
@Luuk第二封电子邮件正确显示为文本/纯文本。我的问题是第一封电子邮件,它不是显示为文本,而是显示为 HTML(仅)
1赞 Luuk 9/23/2023
第一封邮件只包含一部分,没有一部分。Mutt 不会将 html 转换为 (AFAIK)。text/htmltext\plain
0赞 Luuk 9/23/2023
您可以使用 Office 以文本形式发送电子邮件,请参阅:将邮件格式更改为 HTML、RTF 格式或纯文本
0赞 jj_p 9/25/2023
似乎 Mutt 和 MBySNC 都没有参与其中。也许 gmail 自己进行了转换,我无能为力。 (我在接收端,我没有发送电子邮件,无法控制其他人的设置。

答: 暂无答案