Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python imap Lib

Tags:

python

imap

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.

like image 662
user766813 Avatar asked Oct 10 '22 23:10

user766813


1 Answers

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.

like image 167
Thomas Wouters Avatar answered Oct 13 '22 13:10

Thomas Wouters