summaryrefslogtreecommitdiffstats
path: root/Bugzilla/BugMail.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/BugMail.pm')
-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;