I am writing an app for the iPhone and iPad and I need it to show a preview of an Outlook .msg file. Quick Look, unsurprisingly, doesn\'t support this file type and therefo
Outlook .msg files are stored as OLE compound documents (aka COM stuctured storage). So you mainly need a library to read this format. A quick search turned up POLE and libgsf. They are written in C++ and C, respectively, but that's supported on the iPhone as well.
Then there's some file format information that shows how the compound document format is used to store the different parts of an email.
MSG file format is documented by Microsoft: https://msdn.microsoft.com/en-us/library/cc463912%28v=exchg.80%29.aspx?f=255&MSPPError=-2147217396