mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-08 17:07:03 +03:00
Resolve #1294
This commit is contained in:
parent
d55ce60cc5
commit
04a78ad8bd
1 changed files with 12 additions and 0 deletions
|
|
@ -200,6 +200,18 @@ class BodyStructure implements \JsonSerializable
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Still no text found?
|
||||||
|
* Look in attachments as it could be an X-Mms-Message
|
||||||
|
* https://github.com/the-djmaze/snappymail/issues/1294
|
||||||
|
*/
|
||||||
|
if (!$aParts) {
|
||||||
|
$gParts = $this->SearchByCallback(fn($oItem) => $oItem->isText());
|
||||||
|
foreach ($gParts as $oPart) {
|
||||||
|
$aParts[] = $oPart;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return $aParts;
|
return $aParts;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue