Skip to content

Simple tool that allows you to view *.msg files from "Old MS Outlook". "New MS Outlook" requires an "Office 365" subscription to open .msg-Files, but hasn't implemented any way to confirm an active subscription, yet (it seems).

Notifications You must be signed in to change notification settings

Rasalas/msg-reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

*.msg Reader

My collegue sends me a lot of emails in the *.msg format. It's the format that "Old Microsoft Outlook" uses if you export an email or attach it to another email.
I couldn't even open these files on my Windows 11 machine, because of an error that stated that I need an active Microsoft 365 subscription - which is confusing (or very wrong), because I have one and it's active in all other MS Office apps.

Since my collegue doesn't stop sending me these <3 and my Feedback to Microsoft a few months ago didn't do anything 💤, I decided to take matters into my own hands.
I wrote a small tool that can read these files and show them to me (about) how they are shown in email clients - with HTML and inline images and all.

I am currently writing with the Microsoft Support to get this issue fixed, but until then, I have this tool (and everyone who needs to open *.msg files and can't/wont afford a Microsoft 365 Subscription to open a fricking .msg-File).

... also - WHY would you put a paywall in front of a file format that you created?

Disclaimer

I'm not sure I remember updating this readme file if there are any updates to the Microsoft Support thing or if it suddenly works.

It's just here to help. :)

HYPER Quick Start (GitHub Pages)

  1. Open rasalas.github.io/msg-reader/
  2. Drag your file from your file system and drop it in the drop area.
  3. Done.

You should now see your email contents

Quick Start (locally)

  1. Clone the repository
git clone https://github.com/Rasalas/msg-reader.git
cd msg-reader
  1. Install the dependencies
npm install
  1. Run the application
npm start

A browser window should open with the application running.

Development

  1. Clone the repository
git clone https://github.com/Rasalas/msg-reader.git
cd msg-reader
  1. Install the dependencies
npm install 
  1. Run the application in development mode
npm run dev

A browser window should open with the application running. The application will automatically reload when changes are made to the source code.

Other Commands

Deloy to GitHub Pages

npm run deploy

This will build the application and deploy it to GitHub Pages.

Watch

npm run watch

This will watch the code for changes and bundle the code using browserify.

Build

npm run build

This will bundle the code using browserify and output the bundled code to the dist directory inside the bundle.js.

Build it brick by brick

Bundle the code the hard way:

npx browserify src/msgreader.js -o dist/bundle.js

Other links

SourceForge | MsgViewer
Java app. Works, basically my favourite, but doesn't show inline images

encryptomatic.com | Free Online .msg Viewer
Kinda sus. I don't really trust them, because they sell the ~same thing as a product. You also can't see inline images and you get an ad in the end of the email instad of in the page itself.

GitHub | datenteiler/ReadMsgFile
Seems to be ok, but it only shows the text version of the email. No inline images or HTML because it uses a command line interface.

MS Store | MSG Viewer
Costst money and doesn't look promising.

"Receipts"

account.microsoft.com account page showing an active subsciption. Next payment 26th March 2025 for 69€ account.microsoft.com account page showing an active subsciption. Next payment 26th March 2025 for 69€

a table showing payments of the last three years. Last payment of 69€ on 26th March 2024 a table showing payments of the last three years. Last payment of 69€ on 26th March 2024

Windows 11 Account page showing an active Microsoft 365 Single subscription Windows 11 Account page showing an active Microsoft 365 Single subscription

An error message stating that the msg file can't be opened, because it requires an active subscription An error message stating that the msg file can't be opened, because it requires an active subscription

Possible Improvements

  • allow other file types (like .eml)
  • allow to download the email as a .eml file
  • allow to upload multiple files at once
    • make drop area fill the whole screen
    • show a list of all imported emails on the side, like the inbox of an email client
    • sort by date
    • show a preview of the currently selected email
    • separate subject, recipients & sender, body, attachmentes

About

Simple tool that allows you to view *.msg files from "Old MS Outlook". "New MS Outlook" requires an "Office 365" subscription to open .msg-Files, but hasn't implemented any way to confirm an active subscription, yet (it seems).

Topics

Resources

Stars

Watchers

Forks