Python imap 库
在哪里可以找到所有 imap4 函数的完整描述;特别是可能的参数选项和返回值和/或某些函数创建的数据? http://docs.python.org/dev/library/imaplib 仅列出了所有函数,但不是它们可能的参数以及它们可能创建的数据。
Where can I find a complete description of all imap4 functions; especially with the possible parameter option and the return values and/or the data some of the functions create? The http://docs.python.org/dev/library/imaplib just lists all the functions but not their possible parameters and the data they may create.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
imaplib 模块实际上是 IMAP4rev1 协议的一个薄包装器,并且希望您了解其所有细节。该协议在 RFC 3501 中进行了描述(尽管 imaplib 实际上是针对现已过时的RFC 2060。)还有一些不太...深奥的 Python IMAP4 实现,例如
twisted.mail
,使用起来要轻松得多。The imaplib module is really a thin wrapper around the IMAP4rev1 protocol, and expects you to know pretty much all the ins and outs of that. The protocol is described in RFC 3501 (although imaplib was actually written against the now-obsolete RFC 2060.) There are a few less... esoteric IMAP4 implementations for Python, like the one in
twisted.mail
, which are a lot less painful to work with.@thomas-wouters 指向 RFC3501 是正确的,但有很多扩展。
这里有一些更广泛的列表:
@thomas-wouters is correct to point to RFC3501, but there are many extensions.
Here's a couple of more extensive lists: