Following code always throws an exception:
MailMessage document = MailMessage.Load(originalStream);
document.Save(targetStream, new EmlSaveOptions(MailMessageSaveType.MHtmlFormat));
Exception message is: "The specified saveType has incorrect save format." Saving only works with MailMessageSaveType.EmlFormat. I'm using 5.0 version of Aspose.Email.
Edit: never mind, I see I should have used MhtSaveOptions class instead. You can close this ticket.
MailMessage document = MailMessage.Load(originalStream);
document.Save(targetStream, new EmlSaveOptions(MailMessageSaveType.MHtmlFormat));
Exception message is: "The specified saveType has incorrect save format." Saving only works with MailMessageSaveType.EmlFormat. I'm using 5.0 version of Aspose.Email.
Edit: never mind, I see I should have used MhtSaveOptions class instead. You can close this ticket.