mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue