如何在不下载附件的情况下转发完整的电子邮件?
您好(提前感谢!)
我正在使用 Python 工作,我让 IMAP 和 SMTP 与我的 Gmail 帐户一起使用。 我现在需要将选定的消息转发到另一个帐户(阅读其正文后)。
如何在不下载附件并重新创建整个邮件的情况下执行此操作?
谢谢!
塔尔。
Hello (and thanks in advance!)
I'm working in Python and I got IMAP and SMTP to work with my Gmail account.
I now need to forward select messages to another account (after reading their body).
How do I do this without downloading the attachments and recreating the entire message?
Thanks!
Tal.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
查看 IMAP 和 SMTP Lemonade 扩展。 支持转发消息而不下载。 这是一个非常新的扩展,所以还没有多少 IMAP 服务器支持它; 我不确定 Gmail 是否是其中之一。
RFC 4550 的第 2 节包含有关其工作原理的技术细节。
Look at the IMAP and SMTP Lemonade extensions. There is support for forwarding messages without downloading. It's a very new extension, so not many IMAP servers support it yet; I'm not sure if Gmail is one of them.
Section 2 of RFC 4550 contains the technical details on how this works.