summaryrefslogtreecommitdiffstats
path: root/extensions/SecureMail
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/SecureMail')
-rw-r--r--extensions/SecureMail/Extension.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/extensions/SecureMail/Extension.pm b/extensions/SecureMail/Extension.pm
index 1a94fe48c..71eb470a2 100644
--- a/extensions/SecureMail/Extension.pm
+++ b/extensions/SecureMail/Extension.pm
@@ -400,6 +400,8 @@ sub _make_secure {
$vars, \$message)
|| ThrowTemplateError($template->error());
+ $email->parts_set([]);
+ $email->content_type_set('text/plain');
$email->body_set($message);
}