From 466e3ad364ac5bbfaca50373dbe736b4651fb425 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 28 Aug 2017 15:02:38 +0200 Subject: [PATCH] S/MIME: - Missing part from commit ef04e0bb776331deb5127c5fc72b9a0b6ab87fc5 --- api/src/Mail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Mail.php b/api/src/Mail.php index e52b368cbb..8cf2e9357c 100644 --- a/api/src/Mail.php +++ b/api/src/Mail.php @@ -7436,7 +7436,7 @@ class Mail $params = array ( 'type' => 'message', - 'pubkey' => $certkey[$this->icServer->ident_email], + 'pubkey' => $certkey[$credents['acc_smime_username']], 'privkey' => $credents['acc_smime_password'], 'passphrase'=> $_passphrase );