From a6bfe7490c47435b89f99997772b619b82bb7080 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" Date: Tue, 26 Oct 2010 21:21:25 +0000 Subject: [PATCH] Bug 600230 - Add a unique Message-ID to all outgoing e-mails. [r=LpSolit a=mkanat] git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@261463 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/.bzrrev | 2 +- mozilla/webtools/bugzilla/Bugzilla/Mailer.pm | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/mozilla/webtools/bugzilla/.bzrrev b/mozilla/webtools/bugzilla/.bzrrev index c1f7295bd09..feff8ba68dd 100644 --- a/mozilla/webtools/bugzilla/.bzrrev +++ b/mozilla/webtools/bugzilla/.bzrrev @@ -1 +1 @@ -7459 \ No newline at end of file +7460 \ No newline at end of file diff --git a/mozilla/webtools/bugzilla/Bugzilla/Mailer.pm b/mozilla/webtools/bugzilla/Bugzilla/Mailer.pm index d4a41b7638d..5ee6fd2eb85 100644 --- a/mozilla/webtools/bugzilla/Bugzilla/Mailer.pm +++ b/mozilla/webtools/bugzilla/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: "; }