Loading...
 

Email General

CDF V2 Document (.msg) files

Microsoft breaks RFC822 and creates a binary file instead of a compliant format. It does have an option to output an mbox file, but if there is now way to get this, then the following procedure can be followed:

Install the necessary Perl modules:

sudo perl -MCPAN -e 'install("YAML")'
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")'


And run this file as follows:

$ perl -w scripts/msgconvert.pl --mbox /path/to/outputfile.mbox /path/to/inputfile.msg


The output file can then be opened in a mail client or text editor.