Skip to content

Commit

Permalink
Fix for #138
Browse files Browse the repository at this point in the history
  • Loading branch information
martinrusev committed May 18, 2020
1 parent 402d665 commit f794d1b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions imbox/imbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ def mark_flag(self, uid):
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):
Expand Down

0 comments on commit f794d1b

Please sign in to comment.