Where eml.Content is a byte array holding the contents of the email.
The .eml file contains 4 attachments. A .txt, .docx, .jpg, and a .p7s.
When the code above has “loaded” the bytes then the attachments contain 2 files. One empty file called ATT00001.signed and the .txt file.
This obviously causes problems since some attachments are lost and that new file called ATT00001.signed was never there to beging with.
I think I may have found the problem.
I am using a very old version of the Aspose.Email for .NET. When I download and use the newest one in trial mode then the problem does not happen anymore and all the attachments are there.
I am guessing this was a bug before and has simply been fixed in newer versions.