From 5bf2d7587ebfa69c8dadeedc7bc9ce7c7dfd651b Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Wed, 5 Nov 2014 14:10:22 +0800 Subject: Bug 1094026: "Your Overdue Requests" (nagging) emails are stuck in the email queue: utf8 "\x82" does not map to Unicode at /usr/lib64/perl5/Encode.pm line 174 --- extensions/BMO/Extension.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/BMO') diff --git a/extensions/BMO/Extension.pm b/extensions/BMO/Extension.pm index 9e900a381..94796ec72 100644 --- a/extensions/BMO/Extension.pm +++ b/extensions/BMO/Extension.pm @@ -1127,7 +1127,7 @@ sub _inject_headers_into_body { # as_string() doesn't return the updated body for multi-part sub-parts. $email->parts_set([ $email->subparts ]); } - else { + elsif ($email->content_type =~ /^text\/(?:html|plain)/) { # text-only email _replace_placeholder_in_part($email, $replacement); } -- cgit v1.2.3-24-g4f1b