logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

msgconvert - Convert Outlook .msg files to mbox format

Author

       Matijs van Zuijlen, "matijs@matijs.net"

Bugs

       The  program  will  not  check  whether  output  files  already exist. Also, if you feed it "foo.MSG" and
       "foo.msg", you'll end up with one "foo.eml", containing one of the messages.

       Not all data that's in the .MSG file is converted. There simply are some parts whose meaning escapes  me.
       One  of  these  must contain the date the message was sent, for example. Formatting of text messages will
       also be lost. YMMV.

Description

       This  program  will  convert  the  messages  contained  in  the Microsoft Outlook files <file.msg>...  to
       message/rfc822 files with extension .eml.  Alternatively, if the --mbox option is present,  all  messages
       will be put in the given mbox file.  This program will complain about unrecognized OLE parts in the input
       files on stderr.

Name

       msgconvert - Convert Outlook .msg files to mbox format

Options

--mbox
                   Deliver to the given mbox file instead of creating individual .eml
                   files.

       --outfile
                   Writes the message into the outfile instead of individual .eml files. For
                   STDOUT "-" can be used as outfile. This option cannot be used together with
                   multiple <file.msg> instances.

       --verbose
                   Print information about skipped parts of the .msg file.

       --help
                   Print a brief help message.

Synopsis

       msgconvert [options] <file.msg>...

       msgconvert --outfile <outfile> <file.msg>

         Options:
           --mbox <file>      deliver messages to mbox file <file>
           --outfile <oufile> write message to <outfile> or - for STDOUT
           --verbose          be verbose
           --help             help message

See Also