W.I.P. SMIME:

- Fix failure message on send have no details
This commit is contained in:
Hadi Nategh 2017-07-11 11:43:53 +02:00
parent c324fda6ea
commit fc451b2940

View File

@ -3016,7 +3016,7 @@ class mail_compose
catch (Exception $ex)
{
$response = Api\Json\Response::get();
$response->call('egw.message', $ex->getMessage());
$this->errorInfo = $ex->getMessage();
return false;
}
}
@ -3635,7 +3635,7 @@ class mail_compose
* @param array|string $recipients list of recipients
* @param string $sender email of sender
* @param string $passphrase = '', SMIME Private key passphrase
*
*
* @return boolean returns true if successful and false if passphrase required
* @throws Api\Exception\WrongUserinput if no certificate found
*/