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

Free Support Forum - aspose.com

.eml attachment is converted into .msg attachment

I am using Aspose.email for saving Emails as .MSG file .If emails having .eml file as an attachment it is saving as an .msg attchement. As it should remain .eml only ,I am using
MapiMessage AsposeMapimailobject = null;
AsposeMapimailobject = (MapiMessage)Item.Item;
AsposeMapimailobject.Save(FilePath, SaveOptions.DefaultMsgUnicode);
this method for saving MSG file.

Kindly need Solution for the same .

@sarvesh1

Could you please attach the following resources here for testing?

  • Your input EML.
  • Please create a standalone console application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.

input file is not EML its a gmail email in RAW format, I am later converting it into memory stream and loading into aspose.email .

@sarvesh1

Please create and share a standalone console application (source code without compilation errors) that helps us to reproduce your problem on our end. Thanks for your cooperation.