From e5ced279be55dfeb5315cb216065d96b8e2b4e20 Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Tue, 20 Jan 2015 19:27:00 +0100 Subject: [PATCH] securemail: null html body send encrpyted mail only as text --- securemail/securemail.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/securemail/securemail.php b/securemail/securemail.php index 306d12b4..27b638f9 100644 --- a/securemail/securemail.php +++ b/securemail/securemail.php @@ -85,9 +85,8 @@ function securemail_emailer_send_prepare(&$a, &$b) { # using the key, encrypt your plain text using the public key $txt_encrypted = $gpg->encrypt($pub_key,$b['textVersion']); - $html_encrypted = $gpg->encrypt($pub_key,$b['htmlVersion']); + #$html_encrypted = $gpg->encrypt($pub_key,$b['htmlVersion']); $b['textVersion'] = $txt_encrypted; - $b['htmlVersion'] = $html_encrypted; - #var_dump($b); + $b['htmlVersion'] = null; }