Closed ssrirengancodehub closed 9 months ago
Can you sent me this fiile that is giving this problem? Please ZIP it before sending it to sicos2002@hotmail.com
Kees... Sent you the .DAT files in the zip format to your email sicos2002@hotmail.com. Some of our team members are suspecting that image files in the Signature section got converted to .DAT files by MS Outlook. But still its just a theory and no POC for this theory. Whatever the case, not sure why MsgReader NuGet is dropping the extension of this file when the file type is .DAT.
Should be fixed in the latest version
We are using MsgReader nuget in our application. I am having a scenario that my .EML file has an attachment with .DAT extension. The MsgReader nuget reads the .EML file from the disk and returns the Message object (MessagePart) where the attachment file information are missing its extension (.DAT).. The filename in the MessagePart/Message object should have ".dat". But its dropping the extension of .dat. It just has only the exact filename without its extension. This nuget works well with other attached document types such as .docx, .pdf, .bin and etc.. I updated to latest version of this nuget and no luck on it. It looks like there is a bug in the program that its not able to handle .EML file which has the attachment type as .DAT.. Please check this and let me know whether I can do any workaround to make it work. I am reachable on my email address.
A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
Expected behavior The file name of the attachments should have the extension as .DAT
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.