是否可以创建电子邮件挂钩?

发布于 2025-01-03 23:16:31 字数 149 浏览 4 评论 0原文

是否可以在电子邮件到达脚本时转发它们?雷鸟或 Outlook 有这样的 API 吗?

让我缩小问题范围,我知道有一种方法可以手动将电子邮件导出到 Outlook 中的文本文件,而且我知道还有一种方法可以向电子邮件添加规则。但是有没有办法向电子邮件添加规则以使它们导出?

Is it possible to forward emails as they arrive to a script? Does thunderbird, or outlook have an api for such a thing?

Let me narrow the question down, I know that there is a way to manually export an email to a text file in outlook, and I know there is also a way to add rules to emails. But is there a way to add a rule to emails that would make them export them?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

打小就很酷 2025-01-10 23:16:31

最简单的方法可能是使用 POP3 或 IMAP4 从服务器下载邮件,而不是尝试与邮件客户端集成。

有一些工具可用于访问 IMAP 邮箱并将邮件保存为 .eml 文件 - 也可能有一些工具可以通过 POP3 执行此操作。

我还没有测试过任何工具,但快速搜索时出现的一个工具是 http:// /www.broobles.com/imapsize/imap-backup.php

我最近在工作中编写了一个程序,它通过 IMAP 连接并检索消息源,然后将其弹出到 .eml文件。如果您是一位熟练的程序员,那么这并不困难,只要您使用本机 IMAP 类,并且在遇到困难时可以遵循相关的 RFC 文档。

It is probably easiest to do this by downloading the messages from the server, using POP3 or IMAP4, rather than trying to integrate with mail clients.

There are tools available to access an IMAP mailbox and save messages as .eml files - there may also be tools to do it via POP3.

I haven't tested any, but one tool that comes up on a quick search is http://www.broobles.com/imapsize/imap-backup.php

I recently wrote a program at work, which connects via IMAP and retrieves the message source, then pops it into a .eml file. If you are a proficient programmer, it isn't very difficult, provided you use a native IMAP class and can follow the relevant RFC documentation if you get stuck.

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