mark email as processed when send
This commit is contained in:
parent
1f4df68304
commit
61b670931c
|
@ -26,3 +26,5 @@ def do_work():
|
||||||
attachment=email.attachment,
|
attachment=email.attachment,
|
||||||
attachment_filename=email.attachment_filename
|
attachment_filename=email.attachment_filename
|
||||||
)
|
)
|
||||||
|
email.processed = True
|
||||||
|
email.save()
|
||||||
|
|
Loading…
Reference in a new issue