How to parse an .msg file in php?

5.6k views Asked by At

Is there any way for parsing the Outlook .msg files in PHP? My requirement is to parse an .msg file and convert each conversation(message) in it to separate files(Preferably .eml files).

1

There are 1 answers

1
Sverri M. Olsen On

Well, .msg files are "COM stuctured storage OLE2 compound documents", which probably means that it will be difficult to open it in PHP.

PHP does have a Windows COM extension, but I do not know if it can be used.