成熟的 IMAP 库

发布于 2024-12-01 11:31:13 字数 317 浏览 3 评论 0原文

我正在开发一个(linux)应用程序,它将与 IMAP 服务器连接。然而,我很难找到一个成熟的 IMAP 库。只要它是免费和开源的,语言并不重要。

我不是 IMAP 专家,但我真的希望它支持 RFC 5032,这使我能够从服务器提取一条消息。

最佳解决方案是,如果我可以向库发送查询,它会将整个电子邮件(和标题)作为字符串返回。这听起来很简单,但正如我所说,我很难找到一个。

PS:我尝试使用Python,但没有成功。当我发送WITHIN查询时它就会崩溃。我正在考虑 Java,但我对此一无所知,想先听听您的意见。我的应用程序是在 erlang 中开发的,没有成熟的库。

I am working on a (linux) application which is going to interface with an IMAP server. However, I am having a surprisingly hard time finding a mature IMAP library. The language dosn't matter as long as its free and open source.

I am not an IMAP expert but I would really like it to support RFC 5032 which makes me able to pull a single message from the server.

The optimal solution would be if I could just send a query to the library and it would return the whole e-mail (and headers) as a string. It sound very simple but as I said I am having a really hard time finding one.

PS: I tried using Pythons but without any luck. It just crashes when I send a WITHIN query. I'm thinking about Java but I do not know anything about it and would like to hear you first. My application is being developed in erlang which has no mature libraries.

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

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

发布评论

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

评论(1

救星 2024-12-08 11:31:13

有时您只需要知道查看正确的位置即可。许多在 Linux 上运行的编程语言都有自己的网站,其中列出了开源库。

以下是一些主要站点,以及我发现的一些 IMAP 库(对于某些语言,有很多很多可用的库):

我无法就这些库的质量提供任何建议,您可能需要浏览每种语言可用的库,然后才能找到具有您所需功能的库,但希望这些链接能够引导您找到解决方案。

Sometimes you just need to know the right place to look. Many of the programming languages that run on Linux have their own website that lists open source libraries.

Here are some of the main sites, along some IMAP libraries that I found (for some languages there are many, many libraries available):

I can't offer any advice as to the quality of these libraries, and you may need to browse through the libraries available for each language before you find one that has the features you need, but hopefully these links will lead you to a solution.

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