Closed jerdobi closed 2 years ago
Work fine if I do something like this
using (var ms = new MemoryStream())
{
email.Save(ms);
File.WriteAllBytes("d:\\test2.msg", ms.ToArray());
}
I even can't use the Stream class because it is abstract. And if you have an issue with saving then you should contact the OpenMCDF project because that is what I use to do the saving.
If you save as a stream the email the CFBF header is missing and when you use the stream to create a file this file cannot be opened by Outlook because the header is missing. Documents.zip