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

Free Support Forum - aspose.com

Differentiate between EML and MSG attachment

Is it possible to differentiate if an attachment email message is EML or MSG?

Hi Robert,

Thank you for writing to Aspose Support team.

The MailMessage API implementation is for handling of EML formats. If a message has MSG as embedded attachment, the MailMessage API converts it to EML format. However, you can use the IsEmbeddedMessage property of the API to check for attachment to be MSG and then save it as MSG using the MailMessage.Save method. Please let us know if you have any further query in this regard.