Linux open msg file

How do I view an Outlook .msg file?

Building on Martin Owens answer, this is the quick solution:

wget http://www.matijs.net/software/msgconv/msgconvert.pl sudo apt-get install libemail-outlook-message-perl libemail-localdelivery-perl libemail-sender-perl perl msgconvert.pl YourMessage.msg 

Looks like the best thing to do is to convert them to an eml file using this script:

It’s not pretty, it’s not gui based, but it’ll work.

After installing the script as indicated (cpan -i Email::Outlook::Message) found a quick way to call it: creating a «Nautilus Script» with: #!/bin/bash for arg do msgconvert «$arg» done

I can install this on my computer with sudo apt install libemail-outlook-message-perl and then just msgconvert xyz.msg and I get a xyz.eml file

I am on Ubuntu 15.10 and matijs’es msgconvert script seems to be available in the repos now. after running:

sudo apt-get install libemail-outlook-message-perl libemail-localdelivery-perl libemail-sender-perl

to convert the messages entirely with tools from the repos.

wget -O MSGViewer.zip http://sourceforge.net/projects/msgviewer/files/latest/download unzip MSGViewer.zip cd MSGViewer-1.9 java -jar MSGViewer.jar 

now, just drag’n’drop the msg file to the program window to have its contents displayed.

MSGViewer is a nice program, but I found that the viewer wouldn’t open an attached .PDF file within the .MSG file. It appeared to change the filename to something that it couldn’t find.

This works nicely. However I have some problems with the encoding of non ASCI mails (in my case Greek). Do you happen to know if there is any setting for this.

This works with Java 8. Java 11, that I tried with first, removed the java activation framework this uses and so no longer works without some extra effort to use the replacement github.com/eclipse-ee4j/jaf

Opening attached files (e.g. PDF files) worked fine for me after changing the OpenCommand from kde-open to xdg-open (MSGViewer setting).

I found after install msgconvert that msgconvert wasn’t installed when I ran the command. Rather than faff about trying to debug it, I did this. Done in less than a minute. http://www.zamzar.com/convert/msg-to-pdf/

I converted from .MSG to .EML, and the attachments come through correctly. The .EML files was openable with Thunderbird.

You can use ruby-msg ruby gem for that purposes. So:

    Install ruby and rubygems:

# apt-get install rubygems gem 
/usr/local/share/gems/gems/ruby-msg-1.5.2/lib/mapi/mime.rb:109:in `join': incompatible character encodings: UTF-8 and ASCII-8BIT (Encoding::CompatibilityError) 
sed 's/part.to_s(opts)/part.to_s(opts).encode("UTF-8", :invalid=>:replace, :undef => :replace, :replace => "")/' -i /usr/local/share/gems/gems/ruby-msg-1.5.2/lib/mapi/mime.rb 

Источник

Читайте также:  Astra linux проверка зависимостей

How To Open An MSG File On Mac, Linux, Android, and iPhone

Microsoft Outlook uses an MSG file extension (.msg), but the issue is that Mac users can’t easily open MSG files. This guide will help you learn about the MSG format and how to open an MSG file on the Windows and Mac operating systems.

An MSG file for how to open an MSG file on Mac and Windows

What is an MSG File?

You see your emails as usual on Microsoft Outlook, however, it stores your emails as MSG files when you export them. But that’s not it. Outlook is not just a mail application. It is also a calendar, contacts database, and task management tool.

And it stores every item as an MSG file when exported. So, when you see an MSG file, it could be an email, a task, an appointment, a contact, a calendar entry, or any other saved Outlook item.

If an MSG file is an email, it stores the time, date, sender and receiver’s information, subject, attachments, hyperlinks, and the message body, along with its format.

(Another program uses MSG files completely different from Outlook’s MSGs. That program is a game called Fallout. Both Fallout 1 and 2 use the Fallout Message file format to save its game messages and dialogues.)

What is a PST File on Outlook?

Just as MSG files store single emails or outlook items, the same way PST files (.pst) can save multiple Outlook items. A single MSG file would have only one email, appointment, task, or contact, while a single PST file can have emails, tasks, appointments, and contacts. Usually, when you export your Outlook data, your data files are saved in the PST file format.

Is the MSG File Format Safe?

An MSG file is not harmful as it’s only a file format to save Outlook items. But the safety of MSG files depends on their origin and contents. If you created an MSG file, then it’s completely safe for you.

But if you received an MSG file, it could contain any virus or malware. So, it’s much like an email. It could be harmless or risky, depending on its contents.

Why Can I Only Open the EML File Format on Outlook for Mac?

Outlook uses the MSG format, but it doesn’t support MSG files if you’re using Outlook for Mac. Instead, you will see your exported emails in the EML (.eml) format. EML is an E-Mail Message format that can be easily opened by Outlook, Thunderbird, and other mail apps on both Mac and Windows.

How To Open an MSG File on Mac and Linux?

Opening email message (.msg files) on Mac computers is a hassle because they don’t open even with Microsoft Outlook. If you’ve received an MSG file and want to see its content, you must look for other options. We have listed down methods you can use to open the MSG file format on macOS and Linux computers.

  1. MSG Viewer Applications (Mozilla Thunderbird, SeaMonkey)
  2. Access MSG Emails with Online MSG viewers (Using a Browser)
  3. Open an MSG File on Mac Using an App on Google Drive
  4. Convert the MSG Email File Format to EML
  5. Send MSGs to Your Outlook Email Address
Читайте также:  Во время чтения архива произошла ошибка линукс

Method 1: MSG Viewer Applications (Mozilla Thunderbird, SeaMonkey)

We used Thunderbird and SeaMonkey but found that Thunderbird couldn’t open MSG files. SeaMonkey successfully opened the MSG file but couldn’t load the message body. You can try them and let us know if they worked for you.

There are some more applications available that open MSG files. They are either completely free, or their free version has some features locked that only unlock when you upgrade. However, their free versions are good for viewing MSG files:

  1. Open your browser and go to Google.
  2. Type ‘Free MSG viewer software’.
  3. Check out websites and select one. Download and install the software.
  4. Open the MSG file with the new program.

Make sure to scan the software’s installation file (.exe file) with VirusTotal before installing.

Method 2: Access MSG Emails with Online MSG viewers (Using a Browser)

If you don’t like installing programs on your Mac, you can use your browser and an online MSG viewer to read an MSG file. It is the quickest method to open MSG files on Mac and Linux.

  1. Open your web browser and go to Google.
  2. Type ‘Free online MSG viewer’.
  3. Find an online viewer from the list and open its website.
  4. It will show the option to upload a file.
  5. Once uploaded, it will show the opened MSG file.

Method 3: Open an MSG File on Mac Using an App on Google Drive

Most of us have a Google account so using Drive to open an MSG file is a convenient option for Mac and Linux users.

  1. Open your web browser and go to Google Drive.
  2. Enter your email and password.
  3. On the main Google Drive page, click the ‘New’ button on the left.
  4. Click ‘File Upload’.

Google Drive upload menu

  1. Select the MSG file and click ‘Open’.
  2. Right-click the MSG file, move your mouse cursor to ‘Open with’, and click ‘Connect more apps’.

image 507

Google Workspace Marketplace opened for app of MSG viewer

  1. Click the first app in the list and install it.
  2. When installing, go to your MSG file and right-click it. Move your mouse cursor to ‘Open with’ and then click the app you just installed.

Right-click menu for an MSG file on Google Drive

An outlook email file MSG file open on Google Drive

Method 4: Convert the MSG Email File Format to EML

You can find several online file format converters and then change the MSG file to EML, PDF, and other readable formats. Follow these steps:

  1. Open your browser and go to ASPOSE.
  2. Upload your MSG file and select the output format by clicking the drop-down menu next to ‘Save as’.

ASPOSE free email converter tool web

  1. Click ‘CONVERT’.
  2. When the conversion is completed, download the file.
  3. The file is now in EML format.

Microsoft Outlook files in PST, MSG, and EML formats

  1. You can easily open it using Outlook, Thunderbird, SeaMonkey, and any application that can open EML files.

Mozilla Thunderbird with an opened an EML file

If you don’t have these mail programs, you should convert the MSG file to PDF by following the same procedure and then open it using your web browser.

Method 5: Send MSGs to Your Outlook Email Address

Outlook is an email service by Microsoft that supports MSG files.

  1. Open your browser and go to Outlook.com.
  2. Sign in or create your free account.
  3. When logged in, compose an email, attach the MSG file to it, and send it to yourself (Outlook email).
  4. Now open the email from your Outlook email inbox and view the MSG file.
Читайте также:  Veeam agent linux config

How To Open MSG Files on Windows Computers?

Opening the MSG file format on Windows PCs is fairly easy as Outlook and Windows are both products of Microsoft, and they support all Microsoft features. If you’re having difficulty opening MSGs on Windows, these are the methods you can apply.

  1. Use the Microsoft Outlook Mail Application
  2. Open MSG Files with Third-Party MSG Viewer Software
  3. Online Outlook Mail Message Viewers (Use a Web Browser)
  4. Send it to Your Outlook Email

Method 1: Use the Microsoft Outlook Mail Application

The simplest way to open an MSG file on Windows is with Microsoft Outlook. Double-click the file and, if its default app is Outlook, it will automatically open in Outlook. In case, its defaults are not set, follow these steps:

MSG file right-click menu on Windows 10

Outlook MSG file Properties on Windows 10

Making a default app for .msg on Windows 10

Now you can open the MSG file through Outlook by double-clicking it.

Email opened on Microsoft Outlook

Method 2: Open MSG Files with Third-Party MSG Viewer Software

Many free and paid applications open files in MSG format. Simply:

  1. Go to Google.
  2. Search for ‘Free MSG viewer software.
  3. Download and install one. Use it to open the MSG file.

Method 3: Online Outlook Mail Message Viewers (Use a Web Browser)

You can also use online MSG viewers to quickly read MSG emails on your web browser without installing any program on your PC. Some may be paid, but they let you read MSG files for free online.

  1. Go to Google.
  2. Type ‘Free online MSG viewers’.
  3. Go to any website, upload the MSG file, and view the email.

Method 4: Send it to Your Outlook Email

If you don’t have Microsoft Outlook installed on your Windows computer, you can easily read an MSG file by sending it to your Outlook or Live email.

  1. Go to Outlook and sign in using your web browser.
  2. Please create a new email, attach the MSG file, and send it yourself.
  3. Open the email with the MSG file.

How To Read MSG Files on iPhone and Android?

For Android and iPhones, the easiest method to open MSG files without Outlook is to install an app that can read MSG files.

Google Play Store search for MSG viewer

For more methods, refer to the ‘How to open an MSG file on Mac and Linux’ section above. Use the methods that are applicable for mobiles.

Conclusion

Opening an MSG file is difficult on Mac, Linux, Android, and iPhones. However, several methods to open them have been explained in this guide. Apply them to read Outlook’s MSG files easily.

Abdul Rahim has been working in Information Technology for over two decades. Learn how Abdul got his start as a Tech Blogger , and why he decided to start this Software blog. If you want to send Abdul a quick message, then visit his contact page here.

Источник

Оцените статью
Adblock
detector