Sicos1977 / MSGReader

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

File Nameless.txt as an attachment for digital signed emails #384

Closed HartiRei closed 9 months ago

HartiRei commented 10 months ago

I have a question about processing digital signed messages from Outlook:

When I save an email with an attachment (e.g. a pdf file) from Outlook (msg file) and open it with the MSGViewer, the pdf file is displayed as an attachment in the preview window.

If the message is digital signed in Outlook, stored to the filesystem and opened with the MSGViewer, a file Nameless.txt is also displayed as an attachment.

Is this an expected behavior?

Thank you for your feedback on my question!

Sicos1977 commented 10 months ago

Do you have a screenshot?

HartiRei commented 9 months ago

MsgReader_Nameless_txt_Issue

We created a digital signed message in Outlook without any content and without attachments.

Sicos1977 commented 9 months ago

Is it possible to sent me that MSG file? Normally MSGReader only adds a file like that when it finds an attachment in the MSG file that has no file information. So for some reason an attachment like that is present.

Please ZIP the MSG file before sending it to sicos2002@hotmail.com

So I guess Outlook ads some kind of hidden file that is unknown to me when I made the functionality to show signed MSG files

HartiRei commented 9 months ago

I have sent you an email with the msg file.

Sicos1977 commented 9 months ago

I recieved you e-mail. I'll try to look into it this evening or otherwise tomorrow.

Sicos1977 commented 9 months ago

Should be fixed in the latest nuget packages

HartiRei commented 9 months ago

Thanks for the fix, the message is now displayed as expected!

Matti-Koopa commented 9 months ago

Please reopen. Now signed messaged have no attachments at all. Revert to NuGet package version 5.5.1 fixed it.

Sicos1977 commented 9 months ago

Can you also sent me that file so that I can test. I also flagged the package on nuget als one with critical bugs in it so people know they need to revert to the previous version.

Matti-Koopa commented 9 months ago

I sent you an e-mail

Sicos1977 commented 9 months ago

Should be fixed in the latest version