diff options
Diffstat (limited to 'extensions/BMO')
-rw-r--r-- | extensions/BMO/Extension.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |