Re: Newbie imap lib question

2007-01-13 Thread Binky
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.respo

Re: Newbie imap lib question

2007-01-12 Thread Roel Schroeven
jrpfinch schreef: > I have three messages in my inbox. Why does messageCount = > gServer.select('INBOX') not just return OK and 3. See below for > examples - seems to be completely random how many threes it returns. > The documentation for imaplib seems sparse. Does anybody have any good > links

Re: Newbie imap lib question

2007-01-12 Thread jrpfinch
All I have to go on is the RFC2060 standard which says: 7.3.1. EXISTS Response Contents: none The EXISTS response reports the number of messages in the mailbox. This response occurs as a result of a SELECT or EXAMINE command, and if the size of the mailbox changes (e.g. n

Newbie imap lib question

2007-01-12 Thread jrpfinch
I have three messages in my inbox. Why does messageCount = gServer.select('INBOX') not just return OK and 3. See below for examples - seems to be completely random how many threes it returns. The documentation for imaplib seems sparse. Does anybody have any good links? Many thanks, Jon message