Aspose Email Attachment's Issue - Getting different attachment's name for same file

Aspose Email attachment’s name issue for same .eml file & .msg file

We have below two scenarios for processing file with Aspose.Email.

Scenario – 1 , In this scenario we are processing .eml file with Aspose.Email and getting list of attachments.

Scenario-2 , In this scenario we are exporting same .eml file in .PST , after exporting .PST we are extracting .msg file from .PST and we are processing same .msg with Aspose.Email.

In these two scenarios we are getting different attachment’s name.

We are getting below difference in attachment’s name

  1. Extension
    a. In case of .eml file it does not give any .extension for attachment’s name
    b. While in case of .msg file it gives attachment’s name with extension (.msg)

  2. Colon
    a. In .eml file we are getting Colon (:slight_smile: in attachment’s name
    b. While in .msg file we are not getting Colon (:slight_smile: in attachment’s name

  3. Slash
    a. In .eml file we are getting forward Slash (/) in attachment’s name
    b. While in case of .msg file we are not getting any Slash(/) attachment’s name

We are using Aspose.Email version is 24.9.0

We have attached differential screenshots.
PFA.

Let us know if any query or concern from your side.

Attachment_Extension.png (100.0 KB)

Attachment_Slash.png (112.9 KB)

Difference_AttachmentName_Colon.png (103.2 KB)

This topic has been moved to the related forum: Aspose Email Attachment's Issue - Getting different attachment's name for same file - Free Support Forum - aspose.com