Closed KrisKrebs closed 1 year ago
Hi.
{dataType: null, error: 'Unsupported file type!'}
This error will be issued, when the file signature doesn't match with pre defined one.
If you don't mind, please send me a sample msg file to ku@digitaldolphins.jp for detail inspection?
If you send it with Outlook, please archive msg file to zip
.
Hi. Sorry for late reply. I got your mail in spam folder.
Test.msg
has no problem. It is readable.
Also, online demo could decode it. https://hiraokahypertools.github.io/msgreader_demo/
I suspect msgFileBuffer (MsgReader constructor parameter) didn't store correct msg content.
const msgFileBuffer = fs.readFileSync('./data/test.msg')
const testMsg = new MsgReader(msgFileBuffer)
For now I have no more information to guess about this issue.
If you have interested in that online demo, you can check the source code:
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 have the same issue also in the demo
Hi there,
when parsing a simple Outlook Email (Ofice Pro Plus 2019) I am getting an error object stating: {dataType: null, error: 'Unsupported file type!'}
For example, this is a freshly generated Email, just showing "Text" in the subject and body line. This results in an error. However, if I try to parse real Emails from customers, including attachments and lots of correspondence, the parsing mostly works fine.
Hope anyone can help me out here. Thank you for your hard work. I really appreciate it.