From: Frédéric Buclin Date: Sat, 15 Jan 2011 00:08:08 +0000 (+0100) Subject: Bug 623408: Message-ID is gone in bugmail for new bugs X-Git-Tag: bugzilla-4.1.1~99 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19efd87b455fd4aa950fb36e378933d9e7445865;p=thirdparty%2Fbugzilla.git Bug 623408: Message-ID is gone in bugmail for new bugs r=dkl a=LpSolit --- diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm index 048488e02e..41b7a3cf1b 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;