diff options
author | Reed Loden <reed@reedloden.com> | 2010-10-25 00:18:53 +0200 |
---|---|---|
committer | Reed Loden <reed@reedloden.com> | 2010-10-25 00:18:53 +0200 |
commit | 3d2c0c7c3db756b1877ac7e0b322bb993f610d9a (patch) | |
tree | 74a035f359d86cc0fc4eb73dcf40ab486f3f49a6 /Bugzilla | |
parent | 1f6214a9f98c9f419222ee7e7b6fdcb7126a485b (diff) | |
download | bugzilla-3d2c0c7c3db756b1877ac7e0b322bb993f610d9a.tar.gz bugzilla-3d2c0c7c3db756b1877ac7e0b322bb993f610d9a.tar.xz |
Bug 600230 - Add a unique Message-ID to all outgoing e-mails.
[r=LpSolit a=LpSolit]
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Mailer.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Bugzilla/Mailer.pm b/Bugzilla/Mailer.pm index d4a41b763..5ee6fd2eb 100644 --- a/Bugzilla/Mailer.pm +++ b/Bugzilla/Mailer.pm @@ -208,7 +208,9 @@ sub build_thread_marker { $threadingmarker = "Message-ID: <bug-$bug_id-$user_id$sitespec>"; } else { - $threadingmarker = "In-Reply-To: <bug-$bug_id-$user_id$sitespec>" . + my $rand_bits = generate_random_password(10); + $threadingmarker = "Message-ID: <bug-$bug_id-$user_id-$rand_bits$sitespec>" . + "\nIn-Reply-To: <bug-$bug_id-$user_id$sitespec>" . "\nReferences: <bug-$bug_id-$user_id$sitespec>"; } |