From: fabrixxm Date: Tue, 20 Jan 2015 18:27:00 +0000 (+0100) Subject: securemail: null html body X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e5ced279be55dfeb5315cb216065d96b8e2b4e20;p=friendica-addons.git securemail: null html body send encrpyted mail only as text --- 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; }