I am using following code for saving it to MHT directly and found that MHT file itself incomplete.
I am dealing with Outlook message whose size is less than 1 MB (having only embedded images and text).
It would not able to embed objects at the end, when my mail contains a lot of embedded images (mostly at the end). So it skips few images at the end and put only placeholder for the embedded object, leaving an empty rectangle.
Aspose.Email.Mail.MailMessage msg = Aspose.Email.Mail.MailMessage.Load(@“C:\MyMessage.msg”, Aspose.Email.Mail.MessageFormat.Msg);
Moreover, I tried via MemoryStream too but no benefit.
I have attached msg and mht files for your reference. This is just a reference I created a mail to show you. Unfortunately, the size of these test mails is > 3 MB.
Originally, I am using mails which has multiple small images. So the size of mails is less than 1 MB.