mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-09 01:17:04 +03:00
Improved TNEFDecoder
This commit is contained in:
parent
d498bf2b53
commit
913ed54668
11 changed files with 406 additions and 550 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue