Email does not convert to MSG format

This example is from a production system that handles hundreds of email every day - normally the code below works just fine. But not for the attached email, instead raising: "The header name has an unexpected characters"

System.IO.MemoryStream memoryStream = new System.IO.MemoryStream(aRawDataEML);

//Aspose.Email.Mail.MailMessage message = Aspose.Email.Mail.MailMessage.Load(memoryStream, Aspose.Email.Mail.FileCompatibilityMode.PreserveTnefAttachments);
Aspose.Email.Mail.MailMessage message = Aspose.Email.Mail.MailMessage.Load(memoryStream, Aspose.Email.Mail.MailMessageLoadOptions.DefaultEml);

System.IO.MemoryStream msgMemoryStream = new System.IO.MemoryStream();

try
{
//message.PreferredTextEncoding = System.Text.Encoding.GetEncoding(28591);
//message.BodyEncoding = System.Text.Encoding.GetEncoding(28591);
message.Save(msgMemoryStream, Aspose.Email.Mail.MailMessageSaveType.OutlookMessageFormat);
}
finally
{
msgMemoryStream.Close();
}

Hi Thomas,


After an initial investigation, I was able to observe the issue as you have mentioned and have logged it as NETWORKNET-34221 in our issue tracking system for further consideration and rectification by our development team. We’ll notify you here once there is an update or a fix version available for this issue.

We are sorry for the inconvenience caused to you in this regard.

The issues you have found earlier (filed as NETWORKNET-34221) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.

The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan