can I use more than one status condition name in imaplib.status()

harryos oswald.harry at
Wed Oct 13 15:37:30 CEST 2010


In the signature of  of imaplib.status() method
MAP4.status(mailbox, names)
why is the 'names ' argument plural?Can I pass more than one name to
the method?
I can get correct  result when I call,
imapclient.status('Inbox', "(UNSEEN)")
imapclient.status('Inbox', "(RECENT)")

Is it possible to pass both these names ?
I tried,
imapclient.status('Inbox', "(UNSEEN,RECENT)")
which thows imaplib.error: STATUS command error: BAD ['Invalid

Any suggestions most welcome

More information about the Python-list mailing list