From: Reed Loden Date: Tue, 26 Oct 2010 21:09:35 +0000 (-0700) Subject: Bug 600230 - Add a unique Message-ID to all outgoing e-mails. X-Git-Tag: bugzilla-4.0rc1~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fc2ebaeafbe3f84b2bed9d32f9113bebf61500e;p=thirdparty%2Fbugzilla.git Bug 600230 - Add a unique Message-ID to all outgoing e-mails. [r=LpSolit a=mkanat] --- diff --git a/Bugzilla/Mailer.pm b/Bugzilla/Mailer.pm index d4a41b7638..5ee6fd2eb8 100644 --- a/Bugzilla/Mailer.pm +++ b/Bugzilla/Mailer.pm @@ -208,7 +208,9 @@ sub build_thread_marker { $threadingmarker = "Message-ID: "; } else { - $threadingmarker = "In-Reply-To: " . + my $rand_bits = generate_random_password(10); + $threadingmarker = "Message-ID: " . + "\nIn-Reply-To: " . "\nReferences: "; }