mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-25 05:03:47 +00:00
securemail: null html body
send encrpyted mail only as text
This commit is contained in:
parent
e17cb70379
commit
e5ced279be
1 changed files with 2 additions and 3 deletions
|
@ -85,9 +85,8 @@ function securemail_emailer_send_prepare(&$a, &$b) {
|
||||||
|
|
||||||
# using the key, encrypt your plain text using the public key
|
# using the key, encrypt your plain text using the public key
|
||||||
$txt_encrypted = $gpg->encrypt($pub_key,$b['textVersion']);
|
$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['textVersion'] = $txt_encrypted;
|
||||||
$b['htmlVersion'] = $html_encrypted;
|
$b['htmlVersion'] = null;
|
||||||
#var_dump($b);
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue