mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-23 14:28:45 +01:00
Fix smime messages stop activesync
This commit is contained in:
parent
bcad96862b
commit
aa3a9e4987
@ -5652,7 +5652,7 @@ class Mail
|
|||||||
{
|
{
|
||||||
$structure = $mail->getStructure();
|
$structure = $mail->getStructure();
|
||||||
$isSmime = Mail\Smime::isSmime(($mimeType = $structure->getType())) || Mail\Smime::isSmime(($protocol=$structure->getContentTypeParameter('protocol')));
|
$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(
|
return $this->resolveSmimeMessage($structure, array(
|
||||||
'uid' => $_uid,
|
'uid' => $_uid,
|
||||||
@ -5968,8 +5968,8 @@ class Mail
|
|||||||
if ($_partID != '')
|
if ($_partID != '')
|
||||||
{
|
{
|
||||||
$mailStructureObject = $_headerObject->getStructure();
|
$mailStructureObject = $_headerObject->getStructure();
|
||||||
if (Mail\Smime::isSmime(($mimeType = $mailStructureObject->getType())) ||
|
if (!class_exists('mail_zpush', false) && (Mail\Smime::isSmime(($mimeType = $mailStructureObject->getType())) ||
|
||||||
Mail\Smime::isSmime(($protocol=$mailStructureObject->getContentTypeParameter('protocol'))))
|
Mail\Smime::isSmime(($protocol=$mailStructureObject->getContentTypeParameter('protocol')))))
|
||||||
{
|
{
|
||||||
$mailStructureObject = $this->resolveSmimeMessage($mailStructureObject, array(
|
$mailStructureObject = $this->resolveSmimeMessage($mailStructureObject, array(
|
||||||
'uid' => $_uid,
|
'uid' => $_uid,
|
||||||
|
Loading…
Reference in New Issue
Block a user