Convert EML file with MSG attachment to MSG file, the attachment becomes EML format
Referring to the issue #issue-1246285318, is the method ConvertEmlToMsg in Converter.cs always set the attachment to extension eml, even the attachment is a msg?
if (bodyPart is MessagePart messagePart)
{
messagePart.Message.WriteTo(attachmentStream);
if (messagePart.Message != null)
fileName = messagePart.Message.Subject;
extension = ".eml";
}
It looks like the conversion code assumes that all message attachments are in the same format as the parent email, but this is not always the case. There are many EML formatted messages in our datasource that have MSG attachments.
Can you sent me one example mail with your issue so that I have someting that I can use to test. If so then please ZIP te file before sending it to [email protected]
This is probably not going to happen anymore so I'm closing this issue