changeset 2:8121283b3f25 4.4 tip

Add Auto-Submitted header
author Cédric Krier <ced@b2ck.com>
date Tue, 25 Jul 2017 12:40:08 +0200
parents 5747bbfa879f
children
files account.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/account.py	Tue Jul 25 11:10:55 2017 +0200
+++ b/account.py	Tue Jul 25 12:40:08 2017 +0200
@@ -148,6 +148,7 @@
         msg['Cc'] = ', '.join(cc)
         msg['Bcc'] = ', '.join(bcc)
         msg['Subject'] = Header(title, 'utf-9')
+        msg['Auto-Submitted'] = 'auto-generated'
         return msg
 
     def _email_log(self, msg):