Improved TNEFDecoder

This commit is contained in:
the-djmaze 2024-03-10 18:02:38 +01:00
parent d498bf2b53
commit 913ed54668
11 changed files with 406 additions and 550 deletions

View file

@ -531,6 +531,10 @@ trait Messages
if (\in_array($oFile->type, ['application/rtf', 'text/rtf'])) {
$rtf = new \SnappyMail\Rtf\Document($oFile->content);
$oMessage->setHtml($rtf->toHTML());
} else {
// List as attachment?
$oMapiAttachment = new \MailSo\Mail\Attachment($sFolder, $iUid, BodyStructure);
$oMessage->Attachments->append($oMapiAttachment);
}
}
break;