Hi,
We have been using Aspose.Email product mail in .MSG format. But for one particular .eml file we are getting the corrupted body of converted MSG file. We have been using following code -
try
{
//Instantiate an instance of license and set the license file through its path
Aspose.Email.License license = new Aspose.Email.License();
license.SetLicense("Aspose.Email.lic");
MailMessage msg = null;
msg = MailMessage.Load(@"c:\test.eml",MessageFormat.Eml);
msg.Save(@"c:\test.msg", MailMessageSaveType.OutlookMessageFormatUnicode);
}
catch(Exception ex)
{
console.WriteLine(string.Format("Exception caught while saving the complete mail in .MSG format. Exception type is : {0} and message is : {1}", ex.GetType(), ex.Message));
}
Just to inform you guys, we have purchased license for Aspose 1.7 (yes we know its quiet old) and we are doubt if we could purchase license for new Aspose release. So we will appriciate if can provide hot fix over Aspose 1.7 release.
Both input file (. EML) and output file (.MSG) has been attached with the post inside a zip file. Please look in to the issue and let us know if we are doing any thing wrong.
Thanks
Atul