We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose.Network converting from EML to MSG problems with encoding

Hi. I need to convert messages from EML to MSG. Aspose.Network works fine with body, but information in header (such as ‘from’ and ‘to’) contains symbols ‘?’ where expected russian letters. Is there a way to overcome this?

Hi,

Thanks for considering Aspose.

Could you please try to use MailMessageSaveType.OutlookMessageFormatUnicode in the argument of Save() method? The sample code would be:

MailMessage msg = MailMessage.Load(“test.eml”, MessageFormat.Eml);
msg.Save(“savedmessage.msg”, MailMessageSaveType.OutlookMessageFormatUnicode);

If you still get ??? characters, please post the sample eml file. We will look into it.