Newbie imap lib question

Binky kjanz1899 at gmail.com
Sun Jan 14 06:35:23 CET 2007


Section 6.3.1 of the RFC3501 explains the possible data items the
server will return after a SELECT command is issues. You can find
RFC3501 here http://www.isi.edu/in-notes/rfc3501.txt.

Try using the RECENT method to examine the "extra" data items returned
by SELECT. Here's an example

>>> M.response('RECENT')
('RECENT', ['0'])

If all else faile, you may want to examine the imap library code to see
how it parses the SELECT response data.




More information about the Python-list mailing list