Closed loveena-zenya closed 1 year ago
Hi
Majority msg files contain only compressedRtf
and text
.
https://hiraokahypertools.github.io/msgreader/typedoc/interfaces/MsgReader.FieldsData.html#compressedRtf
https://hiraokahypertools.github.io/msgreader/typedoc/interfaces/MsgReader.FieldsData.html#body
It needs decompressor and converter.
compressedRtf
will be restored to decompressed RTF by using @kenjiuno/decompressrtf
or such.
https://www.npmjs.com/package/@kenjiuno/decompressrtf
This is a sample of decompressed RTF. Could you see some html tags exists in rtf? https://github.com/HiraokaHyperTools/msgreader/blob/master/test/sent.rtf
Although generic purpose converters (rtf to html) will be found by searching around npmjs, this decompressed RTF seems to apply special specification: Rich Text Format (RTF) Extensions Algorithm.
See also [MS-OXRTFEX]: De-Encapsulating RTF Reader Algorithm Details | Microsoft Docs
By googling, I found this converter may be possible to deal with RTF-encapsulated formats. rtf-stream-parser - npm
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
I want to have bodyHtml or html in response but i am only getting body text.Please help me.