Need an Example code to extract emails in MSG format

Nov 24, 2013 at 7:48 AM
Hello everybody,
I have tried all my experiences to get the emails extracted in .msg format , but with nothing useful.
I wonder if anybody can provide me an example code to extract .msg files from the .pst file

Thanks in advance.
Rami