The attached MSG file opens in Outlook, but Aspose.Email for .NET 19.6 hangs (i.e. never finishes) when trying to save it as MHTML with the following code:
var mapi = Aspose.Email.Mapi.MapiMessage.FromFile("input.msg"); var msg = mapi.ToMailMessage(new Aspose.Email.Mapi.MailConversionOptions()); var saveOpts = new Aspose.Email.MhtSaveOptions(); msg.Save("output.mhtml", saveOpts); // <-- never finishes
input.zip (62.1 KB)
It seems to go into an endless loop. Is it possible to fix this?