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
......@@ -68,6 +68,10 @@ sub MessageToMTA {
# get sslbase). Also, we want this to stay the same even if
# 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) = @_;
......
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