summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarko Kohtala <marko.kohtala@gmail.com>2016-10-03 16:28:52 +0200
committerDylan William Hardison <dylan@hardison.net>2016-10-03 16:28:52 +0200
commit860b0775639d031f0ea954061fe69934177eac81 (patch)
tree04be92c205b4c8d5c1cbf1cab7e9fb77500d745e
parent1bb7351a0db548394a1dad04c511088c95753e9d (diff)
downloadbugzilla-860b0775639d031f0ea954061fe69934177eac81.tar.gz
bugzilla-860b0775639d031f0ea954061fe69934177eac81.tar.xz
Bug 1254516 - Emails do not indicate to Exchange that they are auto-generated, and so get auto-responses
r=dylan
-rw-r--r--Bugzilla/MIME.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/Bugzilla/MIME.pm b/Bugzilla/MIME.pm
index baeaa2ac2..3d8dccbca 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');