forked from extern/egroupware
S/MIME:
- Add public key of sender into recipient keys while encrypting a message. This make encrypted mails in sent folder readable by sender as well.
This commit is contained in:
parent
ee092b0d5a
commit
4d8efd0c4a
@ -1169,7 +1169,10 @@ class Mailer extends Horde_Mime_Mail
|
||||
// parameters to pass on for encrypt mime part
|
||||
$encrypt_params = array(
|
||||
'type' => 'message',
|
||||
'pubkey' => $params['recipientsCerts']
|
||||
'pubkey' => array_merge(
|
||||
$params['recipientsCerts'],
|
||||
array($this->account->acc_smime_username => $params['senderPubKey'])
|
||||
)
|
||||
);
|
||||
switch ($type)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user