From 860b0775639d031f0ea954061fe69934177eac81 Mon Sep 17 00:00:00 2001 From: Marko Kohtala Date: Mon, 3 Oct 2016 10:28:52 -0400 Subject: Bug 1254516 - Emails do not indicate to Exchange that they are auto-generated, and so get auto-responses r=dylan --- Bugzilla/MIME.pm | 2 ++ 1 file changed, 2 insertions(+) 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'); -- cgit v1.2.3-24-g4f1b