Hi,
I would like to convert an eml-File to msg-File.
The mail file (see attachment test.zip -> test.eml) has a html body with a signature part at the end of the content.
At first time I used the evaluation licence and the following code:
var mailMessage = MailMessage.Load(@“C:\test.eml”, new EmlLoadOptions());
mailMessage.Save(@“C:\test_evaluation_lic.msg”, Aspose.Email.Mail.SaveOptions.DefaultMsgUnicode);
Second time I used a valid licence and the following code:
var lic = new Aspose.Email.License();
lic.SetLicense(“Aspose.Email.lic”);
var mailMessage = MailMessage.Load(@“C:\test.eml”, new EmlLoadOptions()); mailMessage.Save(@“C:\test_valid_lic.msg”, Aspose.Email.Mail.SaveOptions.DefaultMsgUnicode);
The code with evalution licence works without a problem (see attachment test.zip -> test_evalution_lic.msg).
The code with valid licence trimmed the html body and removes the signature part (see attachment test.zip -> test_valid_lic.msg).
Whats wrong?