mark email as processed when send

This commit is contained in:
Stephan Telling 2017-04-23 22:08:59 +02:00
parent 1f4df68304
commit 61b670931c
No known key found for this signature in database
GPG key ID: D4892289F36ADA9B

View file

@ -26,3 +26,5 @@ def do_work():
attachment=email.attachment,
attachment_filename=email.attachment_filename
)
email.processed = True
email.save()