From: Marko Kohtala Date: Mon, 3 Oct 2016 14:28:52 +0000 (-0400) Subject: Bug 1254516 - Emails do not indicate to Exchange that they are auto-generated, and... X-Git-Tag: release-5.1.2~52 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=860b0775639d031f0ea954061fe69934177eac81;p=thirdparty%2Fbugzilla.git Bug 1254516 - Emails do not indicate to Exchange that they are auto-generated, and so get auto-responses r=dylan --- diff --git a/Bugzilla/MIME.pm b/Bugzilla/MIME.pm index baeaa2ac25..3d8dccbcac 100644 --- a/Bugzilla/MIME.pm +++ b/Bugzilla/MIME.pm @@ -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');