MAPI Developer: How to get file properties for .MSG file using MrMAPI tool?


Based on my earlier article, recently I got the below request from MAPIDevil (MAPI developer). Adding the detailed request: 

MSG File

In general, you can do this same stuff with either MFCMAPI utility or ended up by creating customer MAPI application. For this specific scenario again I tried my hands with MrMAPI command-line utility – it’s very simple, you need to just pass on the Input “.MSG file" and Output “Output file”.

MSG File

Also you can store the file in .txt file as well – it will contain XML output for you.
MSG File

You can check the output in the given folder and the output file as well:

MSG File

Now I think MAPIDevil can make use of this; also you can also give a try using MrMAPI as well… Smile

Happy MAPI programming…!!

Skip to main content