Skip to content

Commit

Permalink
Fix: missing email header to prevent "Out Of Office" messages
Browse files Browse the repository at this point in the history
Signed-off-by: Yann 'Ze' Richard <yann.richard@univ-rennes2.fr>
  • Loading branch information
Zeuh committed Jul 16, 2021
1 parent fc4a0fe commit 1622e3d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libexec/notify_by_email.py
Expand Up @@ -205,6 +205,9 @@ def create_mail(format):
logging.debug('Subject: %s' % (opts.prefix + get_mail_subject(opts.notification_object)))
msg['Subject'] = opts.prefix + get_mail_subject(opts.notification_object)

msg['Precedence'] = 'bulk'
msg['Auto-Submitted'] = 'auto-generated'

return msg

#############################################################################
Expand Down

0 comments on commit 1622e3d

Please sign in to comment.