Home » Questions » Computers [ Ask a new question ]

Opening a .msg file in Ubuntu

Opening a .msg file in Ubuntu

Someone sent me a .msg file on Skype, and somehow I just can't open this in Ubuntu.

Asked by: Guest | Views: 73
Total answers/comments: 4
Guest [Entry]

"It's not perfect but you can import .msg file with Mozilla Thunderbird (it works with on 52.1.1 on my Linux Mint). I had some encoding error but you can globally read the content.

In Thunderbird you click on File > Open > Saved message and select your .msg file."
Guest [Entry]

"You can also proceed like this:

strings foo.msg |html2text"
Guest [Entry]

"Try this link: www.coolutils.com/online/Mail-Converter/

I came to this post searching for an answer, found the above link which did the job for me. Hence wanted to share here.

If you are concerned about privacy, you can buy their desktop version and convert it."
Guest [Entry]

"If you're on Windows, Mac, or another Linux than Ubuntu, or you don't want to install random packages on your system, I'd recommend building on Georg Jung's answer by using this docker container:

docker run -it --rm -v $(pwd):/mails --user $UID: lequoctuan/msgconvert my-file.msg

# takes a minute ...

cat my-file.eml"