changeset 1:c1f8328fb454 4.4

Add Auto-Submitted header
author Cédric Krier <ced@b2ck.com>
date Tue, 25 Jul 2017 12:44:06 +0200
parents 3bdf81dab3c8
children 1ba103fdf476
files notification.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/notification.py	Tue Jul 25 12:28:48 2017 +0200
+++ b/notification.py	Tue Jul 25 12:44:06 2017 +0200
@@ -175,6 +175,7 @@
         msg['Cc'] = ', '.join(cc)
         msg['Bcc'] = ', '.join(bcc)
         msg['Subject'] = Header(title, 'utf-8')
+        msg['Auto-Submitted'] = 'auto-generated'
         return msg
 
     def get_log(self, record, trigger, msg):