R. David Murray added the comment:
This is a duplicate of a subset of issue 917120.
--
nosy: +r.david.murray
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> imaplib: incorrect quoting in commands
___
Python tracker
New submission from bjshan:
imaplib status failed if the folder name contains whitespace.
For example,
c = IMAP4_SSL('hostname')
c = login(username, password)
c.status('Drafts', '(MESSAGES)')# would succeed
c.status('Apple Mail To Do', '(MESSAGES)') # would fail, error message is:
imaplib.er