]> git.mxchange.org Git - friendica-addons.git/commitdiff
securemail: null html body
authorfabrixxm <fabrix.xm@gmail.com>
Tue, 20 Jan 2015 18:27:00 +0000 (19:27 +0100)
committerfabrixxm <fabrix.xm@gmail.com>
Tue, 20 Jan 2015 18:27:00 +0000 (19:27 +0100)
send encrpyted mail only as text

securemail/securemail.php

index 306d12b43d2908278f6bf99237279ab40eab98c3..27b638f97a7d08ba011c88ed5ab6e7d9e6a69af2 100644 (file)
@@ -85,9 +85,8 @@ function securemail_emailer_send_prepare(&$a, &$b) {
 \r
     # using the key, encrypt your plain text using the public key\r
     $txt_encrypted = $gpg->encrypt($pub_key,$b['textVersion']);\r
-    $html_encrypted = $gpg->encrypt($pub_key,$b['htmlVersion']);\r
+    #$html_encrypted = $gpg->encrypt($pub_key,$b['htmlVersion']);\r
 \r
     $b['textVersion'] = $txt_encrypted;\r
-    $b['htmlVersion'] = $html_encrypted;\r
-    #var_dump($b);\r
+    $b['htmlVersion'] = null;\r
 }\r