Closed SudD3v closed 3 years ago
Fixed in the latest release
Hi, i've tested again using the same files and the 3.7.33 version (latest) but the result is the same. The file "A sua zona tem Fibra -MEO-M4-e-Prospects-20200903.msg" still returns null.
Best Regards
Hi, i've previously opened the issue https://github.com/Sicos1977/MSGReader/issues/223 after your answer and updating my dependency to the newest version (3.7.31) i was able to read the .msg file I attached and another one. Meanwhile i found out that not all the files I'm trying to retrieve the html from are readable. I'm attaching a zip with 2 files:
Code: //var msg = new MsgReader.Outlook.Storage.Message(@"C:\Users\5 Edição IoT Challenge Altice Empresas.msg"); var msg = new MsgReader.Outlook.Storage.Message(@"C:\Users\A sua zona tem Fibra -MEO-M4-e-Prospects-20200903.msg"); var from = msg.Sender; var sentOn = msg.SentOn; var recipientsTo = msg.GetEmailRecipients(MsgReader.Outlook.RecipientType.To, false, false); var recipientsCc = msg.GetEmailRecipients(MsgReader.Outlook.RecipientType.Cc, false, false); var subject = msg.Subject; var htmlBody = msg.BodyHtml; Console.WriteLine("Body:" + htmlBody); // etc... Console.ReadLine();
Can you help with this issue?
Best Regards MSGReaderSample.zip