Dear Aspose Team,
We are facing a little issue in the following case:
We obtained an .msg file from one of our clients which we could not process. We investigated the problem, and it turned out, that when we load the mail message with Aspose.Email not all html tags are closed correctly in the HtmlBody of the message. That causes a problem in our process.
In the following attachment there are 3 files:
(attachment: ImpExpData.zip (85.7 KB))
- “MailMessage.msg”: this is the .msg file we are trying to process
- “mailMessage.HtmlBody.html”: a saved and formatted .html file from the HtmlBody of the mail message
- “ProblematicRows.png”: the problematic rows highlighted in the saved/formatted .html file
Code sample by which we can reproduce this:
var msgLoadOptions = new MsgLoadOptions();
msgLoadOptions.PrefferedTextEncoding = Encoding.UTF8;
mailMessage = MailMessage.Load(FilePath, msgLoadOptions);
We are waiting for Your findings/answer.