Fix wrongly used exception type on previous commit

This commit is contained in:
Hadi Nategh 2018-02-08 16:10:06 +01:00
parent b5210f6a24
commit 47c94ee9a5

View File

@ -317,7 +317,7 @@ class mail_integration {
}
$mailcontent['date'] = strtotime($mailcontent['headers']['DATE']);
}
catch (Exception $ex) {
catch (Mail\Smime\PassphraseMissing $ex) {
EGroupware\Api\Framework::message(lang('Fetching content of this message failed'.
' because the content of this message seems to be encrypted'.
' and can not be decrypted properly.'),'error');