Merge pull request #234 from fabrixxm/securemail

securemail: null html body
pull/237/head
Tobias Diekershoff 2015-01-21 06:39:20 +01:00
commit 8bd0cf1d56
1 changed files with 2 additions and 3 deletions

View File

@ -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;
}