]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 623408: Message-ID is gone in bugmail for new bugs
authorFrédéric Buclin <LpSolit@gmail.com>
Sat, 15 Jan 2011 00:08:08 +0000 (01:08 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Sat, 15 Jan 2011 00:08:08 +0000 (01:08 +0100)
r=dkl a=LpSolit

Bugzilla/BugMail.pm

index 048488e02ee1fe02428c1a4e962ad80db5a59568..41b7a3cf1bd7c7003e0b6ae70e6a535d0199de68 100644 (file)
@@ -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;