MSG-Convert is a project mainly written in Perl, it's free.
Perl script to convert Outlook .msg files to Thunderbird .eml files
A perl script to convert Outlook .msg files in to .eml files to read on Ubuntu Linux using Thunderbird.
Originally by Matijs van Zuijlen [email protected]
Later edits by Craig Russell [email protected]
Install the required perl packages with the following commands
sudo perl -MCPAN -e 'install("Email::Outlook::Message")'
sudo perl -MCPAN -e 'install("Email::LocalDelivery")'
sudo perl -MCPAN -e 'install("Getopt::Long")'
sudo perl -MCPAN -e 'install("Pod::Usage")'
sudo perl -MCPAN -e 'install("File::Basename")'
Install Thunderbird (if you don;t already have it) with sudo apt-get install thunderbird
Download and save msgconvert.pl
to your computer
Make it executable with chmod +x /path/to/msgconvert.pl
Open .msg files with /apth/to/msgconvert.pl /path/to/emailfile.msg
You can configure Nautilus to open .msg
files when you double-click them
Right click any .msg file
Select Open with Other Application
Click the arrow next to Use a Custom Command
Click the Browse button and choose the msgconvert.pl
file
Now when you double click a .msg
file, it will be automatically converted to a .eml
file and opened in Thunderbird.
msgconvert.pl [options] <file.msg>...
--mbox <file>
Deliver to the given mbox file instead of creating individual .eml
files.
--exec <command>
After creating output files, run the specified command with each
output file as a parameter
e.g. msgconvert.pl --exec thunderbird input.msg
--verbose
Print information about skipped parts of the .msg file.
--help
Print a brief help message.
By default the script will open the converted files with thunderbird, you can over ride this with the --exec
option.
Preferably the script would by default use no application, but Nautilus doesn't allow you to specify options for 'open with' scripts.
If you'd rather have no default application, simply change the parameter on line 19 from my $execute = 'thunderbird';
to my $execute = '';