IMAP4 and deleting a message
Martin v. Löwis
martin at v.loewis.de
Mon Dec 8 18:10:47 EST 2003
Wilfredo Sanchez <wsanchez at apple.com> writes:
> Can someone hook me up?
I think IMAP does not have the notion of immediately deleting
messages. Instead, you should set the \Deleted flags, e.g. though
M.store(num, "+flags", r"\Deleted")
Then, deleted message will be expunged either as the result of
invoking .expunge(), or as a result of invoking .close().
Regards,
Martin
More information about the Python-list
mailing list