summaryrefslogtreecommitdiff
path: root/emailcanary/emailutils.py
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2015-11-24 11:12:49 -0800
committerJesse Morgan <jesse@jesterpm.net>2015-11-24 11:12:49 -0800
commit6259efbc44be3e21e42b29246941cd300e79200f (patch)
tree67532f37aeadc45e959fffd1d05ab45ecd72e114 /emailcanary/emailutils.py
parent51129fda2179286143921db55a69b3f4dba03c0e (diff)
Adding emailcanary script
Adding the main launch script. Adding the listAddress to the pings table. Fixing the Makefile
Diffstat (limited to 'emailcanary/emailutils.py')
-rw-r--r--emailcanary/emailutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/emailcanary/emailutils.py b/emailcanary/emailutils.py
index b87f637..83c2f46 100644
--- a/emailcanary/emailutils.py
+++ b/emailcanary/emailutils.py
@@ -19,7 +19,7 @@ def get_message(mail, uid):
return email.message_from_string(raw_email)
def delete_message(mail, uid):
- result = mail.uid('store', uid, '+FLAGS', '\\Deleted')
+ result = mail.uid('store', uid, '+FLAGS', '(\Deleted)')
def close(mail):
mail.expunge()