如何在不下载附件的情况下转发完整的电子邮件?

发布于 2024-07-15 06:39:02 字数 171 浏览 14 评论 0原文

您好(提前感谢!)

我正在使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

月下凄凉 2024-07-22 06:39:02

查看 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文