forked from mirror/django-mailbox
Apparently the IMAP specification expects that the +FLAGS argument be surrounded by parentheses; although some e-mail backends (like Gmail) will accept the +FLAGS argument without surrounding the \Deleted flag in parentheses, many (reasonably) follow the specification much more closely. This problem was first noted in report #23. Searching for other examples of mail deletion, I've found several Stack Overflow articles in which people are attempting the same task, and each either uses `imap.store` without surrounding '\Deleted' in parentheses, or uses `imap.uid` *while* surrounding '\Deleted' in parentheses: * http://stackoverflow.com/questions/1777264/using-python-imaplib-to-delete-an-email-from-gmail * http://stackoverflow.com/questions/3180891/imap-deleting-messages |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| babyl.py | ||
| base.py | ||
| generic.py | ||
| gmail.py | ||
| imap.py | ||
| maildir.py | ||
| mbox.py | ||
| mh.py | ||
| mmdf.py | ||
| pop3.py | ||