mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
Fix smime messages stop activesync
This commit is contained in:
parent
2dc6178313
commit
0efbbfb75f
@ -5652,7 +5652,7 @@ class Mail
|
||||
{
|
||||
$structure = $mail->getStructure();
|
||||
$isSmime = Mail\Smime::isSmime(($mimeType = $structure->getType())) || Mail\Smime::isSmime(($protocol=$structure->getContentTypeParameter('protocol')));
|
||||
if ($isSmime)
|
||||
if ($isSmime && !class_exists('mail_zpush', false))
|
||||
{
|
||||
return $this->resolveSmimeMessage($structure, array(
|
||||
'uid' => $_uid,
|
||||
@ -5968,8 +5968,8 @@ class Mail
|
||||
if ($_partID != '')
|
||||
{
|
||||
$mailStructureObject = $_headerObject->getStructure();
|
||||
if (Mail\Smime::isSmime(($mimeType = $mailStructureObject->getType())) ||
|
||||
Mail\Smime::isSmime(($protocol=$mailStructureObject->getContentTypeParameter('protocol'))))
|
||||
if (!class_exists('mail_zpush', false) && (Mail\Smime::isSmime(($mimeType = $mailStructureObject->getType())) ||
|
||||
Mail\Smime::isSmime(($protocol=$mailStructureObject->getContentTypeParameter('protocol')))))
|
||||
{
|
||||
$mailStructureObject = $this->resolveSmimeMessage($mailStructureObject, array(
|
||||
'uid' => $_uid,
|
||||
|
Loading…
Reference in New Issue
Block a user