Sicos1977 / MSGReader

C# Outlook MSG file reader without the need for Outlook
http://sicos1977.github.io/MSGReader
MIT License
478 stars 168 forks source link

.heic attachments in .msg are shown as IsInline=true #297

Closed kaljak closed 2 years ago

kaljak commented 2 years ago

Describe the bug If you extract a the .heic attachment of a .msg file .IsInline is true.

To Reproduce Steps to reproduce the behavior: using (var msg = new Storage.Message(memory)) { foreach (var attachment in msg.Attachments) { if (attachment.GetType() == typeof(Storage.Attachment) && !((Storage.Attachment)attachment).IsInline) { //code is not hit with .heic attachment }

Expected behavior .heic attachments should be shown as IsInline = false

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Sorry, I can't upload the .msg file to reproduce as it is confidential

Sicos1977 commented 2 years ago

Sorry without an example I can't fix it. I need something to reproduce the error.