summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2011-01-15 01:08:08 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2011-01-15 01:08:08 +0100
commit19efd87b455fd4aa950fb36e378933d9e7445865 (patch)
treede7fe193f322f55598be09318b9b9f173e7b3a78
parenta9ec34d1c1c7973ccc6718c63d1823310d842df0 (diff)
downloadbugzilla-19efd87b455fd4aa950fb36e378933d9e7445865.tar.gz
bugzilla-19efd87b455fd4aa950fb36e378933d9e7445865.tar.xz
Bug 623408: Message-ID is gone in bugmail for new bugs
r=dkl a=LpSolit
-rw-r--r--Bugzilla/BugMail.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm
index 048488e02..41b7a3cf1 100644
--- a/Bugzilla/BugMail.pm
+++ b/Bugzilla/BugMail.pm
@@ -393,8 +393,9 @@ sub _generate_bugmail {
body => $msg_html,
),
);
-
- my $email = new Email::MIME($msg_header);
+
+ # TT trims the trailing newline, and threadingmarker may be ignored.
+ my $email = new Email::MIME("$msg_header\n");
$email->parts_set(\@parts);
$email->content_type_set('multipart/alternative');
return $email;