Closed vhanzu closed 6 months ago
Uh.... I think I fixed this.. if not then please reopen this issue.
I've just retested with the latest nuget, version 5.5.5.0, MsrReader.dll date 17.01.2024 and the problem still reproduces.
Unfortunately, I can't reopen the bug because there is no Reopen button available.
I reopened the issue... thought that I had fixed this but apperently not... I'll try to look into this, this week.
Can you resent me the file that is giving this issue? I know that you sent it before but I can't find this msg file anymore. Please zip the file before sending it to sicos2002@hotmail.com
I did receive your e-mail but didn't have the time to look into it... I try to do it this weekend.
I am using the nuget package in c# and I was parsing some msg file from a customer, no extra details.
var reader = new MsgReader.Reader(); var outputFiles = reader.ExtractToFolder(fileName, outputFolder);
The result contains some ugly attachment names:
But it should be like these:
Most likely the issue in in the Attachment constructor where the MapiTags.PR_ATTACH_LONG_FILENAME is considered as most relevant for reading the attachment name. But in my opinion MapiTags.PR_DISPLAY_NAME should be more relevant as this is the one getting displayed to the user.
Unfortunately, I can't attach the msg file causing the issue.
Desktop (please complete the following information):