During saving message (see attachment) part of the body is lost. This is probably due to some logic dependant on dashes string.
The input body is:
---------------------------------------------------
TEST HEADER:
---------------------------------------------------
My test data
---------------------------------------------------
TEST HEADER 2:
---------------------------------------------------
Number:
But the rendered content is only:
---------------------------------------------------
TEST HEADER:
---------------------------------------------------
My test data
The code I use:
using (MemoryStream mhtmlStream = new MemoryStream())
{
asposeMail.Save(mhtmlStream, MailMessageSaveType.MHtmlFormat, MailMessageSaveOptions.None);
Aspose.Words.Document sourceDocument = new Aspose.Words.Document(mhtmlStream);
sourceDocument.Save(“test.doc”);
}