projects
/
edward.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2d7bc2a
)
Add Auto-Submitted field
author
Andrew Engelbrecht
<sudoman@ninthfloor.org>
Tue, 19 Jul 2016 18:03:16 +0000
(14:03 -0400)
committer
Andrew Engelbrecht
<sudoman@ninthfloor.org>
Tue, 19 Jul 2016 18:03:16 +0000
(14:03 -0400)
Hopefully this will break response loops with user-created auto-response
systems.
edward
patch
|
blob
|
blame
|
history
diff --git
a/edward
b/edward
index e6c74042e6620492273fccd7bdafd331736b6838..ed47182fbe4165dccffd3f37f40fd7db42ce91f6 100755
(executable)
--- a/
edward
+++ b/
edward
@@
-1355,6
+1355,8
@@
def generate_encrypted_mime (plaintext, email_to, email_from, email_subject,
else:
message_mime = plaintext_mime
+ message_mime['Auto-Submitted'] = 'auto-replied'
+
message_mime['To'] = email_to
message_mime['From'] = email_from
message_mime['Subject'] = email_subject