Commit 0988f1f3 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 455845: Emails have no header to indicate that they are auto-generated, and…

Bug 455845: Emails have no header to indicate that they are auto-generated, and so get auto-responses - Patch by Ralf Hildebrandt <ralf.hildebrandt@charite.de> r/a=mkanat
parent caca2a38
......@@ -69,6 +69,10 @@ sub MessageToMTA {
# the admin changes the "ssl" parameter.
$email->header_set('X-Bugzilla-URL', Bugzilla->params->{'urlbase'});
# We add this header to mark the mail as "auto-generated" and
# thus to hopefully avoid auto replies.
$email->header_set('Auto-Submitted', 'auto-generated');
$email->walk_parts(sub {
my ($part) = @_;
return if $part->parts > 1; # Top-level
......
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