I am trying to print the attachment count but it’s saying the count is 0 when the .msg file has an attachment.
My code is something like the following:
string filePath = “C:\Path\To\File\test email.msg”;
MapiMessage message = MapiMessage.Load(filePath);
Console.WriteLine(message.Attachments.Count);
Here is the .msg file I am passingtest email.zip (955.6 KB)
Thanks,