This library allows you to read Outlook .msg
file in browser.
Simply run this command in terminal:
npm i @molotochok/msg-viewer
First import the library:
import { parse } from "@molotochok/msg-viewer";
Then parse the input array buffer:
const message = parse(new DataView(arrayBuffer));
The result is an object that contains relevant information about the message. It's structure is defined here.
Refer to this page for the example usage of this library in the live experience.
You can find the source code on Github.
If you wish to support me you can by me a coffee.