fix: readd the flag Deleted to delete a message
This commit is contained in:
@@ -62,6 +62,7 @@ class Imbox:
|
||||
|
||||
def delete(self, uid):
|
||||
logger.info("Mark UID {} with \\Deleted FLAG and expunge.".format(int(uid)))
|
||||
self.connection.uid('STORE', uid, '+FLAGS', '(\\Deleted)')
|
||||
self.connection.expunge()
|
||||
|
||||
def copy(self, uid, destination_folder):
|
||||
|
||||
Reference in New Issue
Block a user