Getting Outlook .msg file contents with Objective-C

后端 未结 2 1974
温柔的废话
温柔的废话 2021-01-16 11:50

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

相关标签:
2条回答
  • 2021-01-16 12:40

    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.

    0 讨论(0)
  • 2021-01-16 12:49

    MSG file format is documented by Microsoft: https://msdn.microsoft.com/en-us/library/cc463912%28v=exchg.80%29.aspx?f=255&MSPPError=-2147217396

    0 讨论(0)
提交回复
热议问题