]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1254516 - Emails do not indicate to Exchange that they are auto-generated, and...
authorMarko Kohtala <marko.kohtala@gmail.com>
Mon, 3 Oct 2016 14:28:52 +0000 (10:28 -0400)
committerDylan William Hardison <dylan@hardison.net>
Mon, 3 Oct 2016 14:28:52 +0000 (10:28 -0400)
r=dylan

Bugzilla/MIME.pm

index baeaa2ac2531cdecd26ba2f927c58267c3bd5a8f..3d8dccbcac860ea9dd9719e987d7879b874fc256 100644 (file)
@@ -69,6 +69,8 @@ sub as_string {
     # We add this header to mark the mail as "auto-generated" and
     # thus to hopefully avoid auto replies.
     $self->header_set('Auto-Submitted', 'auto-generated');
+    # Exchange does not respect the Auto-Submitted, but uses this.
+    $self->header_set('X-Auto-Response-Suppress', 'All');
 
     # MIME-Version must be set otherwise some mailsystems ignore the charset
     $self->header_set('MIME-Version', '1.0') if !$self->header('MIME-Version');