Commit 860b0775 authored by Marko Kohtala's avatar Marko Kohtala Committed by Dylan William Hardison

Bug 1254516 - Emails do not indicate to Exchange that they are auto-generated,…

Bug 1254516 - Emails do not indicate to Exchange that they are auto-generated, and so get auto-responses r=dylan
parent 1bb7351a
......@@ -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');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment