Hello. I wanted to convert some saved emails files to pdf with the following code but it fails with the attached msg file (it hangs after printing “3”). Code is based in this previous post (I have modified it a bit because of a compilation error).
Thank you for contacting Aspose support team.
We have analyzed the sample MSG file and tried to convert it to Mht file using Outlook 2013, however it hangs the outlook and it is not converted to Mht file. It seems that there is some issue in this MSG file, that is why issues are there in the conversion. You may please verify this behavior with outlook and provide us a sample message which is converted to Mht using outlook without any error. We will analyze it and provide assistance accordingly.
Thanks for your answer. Currently I haven’t got another sample file. I will get back to you if I can manage to get another one.
You are welcome.