Embedded Image Not Retrieved - Office 365- POP3

When an embedded image is sent from an office 365 account to another account and when the message is downloaded via POP3, the images are not retrieved as attachments, the attachment count is 0 and the images are replaced by a text similar to [cid:81bafe75-54a0-4536-aa31-08067f9a114d]
I am using POP3Client's fetch message to retrieve the message. This issue occurs only when message is sent from an office 365 account. If sent through other mail servers, the images are downloaded as attachments.

Hi Sathyapriya,

Thank you for your inquiry.

We have tested this issue at our end and could not reproduce the same as you have reported. Here are the details of the tests.

  1. An Office365 account is used to send out two emails to another Office 365 account

  2. First email contains an Inline image for which you have mentioned the problem. Please note that inline images are represented by the LinkedResources Colleciton and not by Attachments Collection.

  3. Second email contains an image as a regular attachment

These emails are retrieved via the following code from the second test account and it is correctly showing the number of attachments and linked resources for each of these emails. The code sample below contains valid credentials for the test account. Please try it at your end and share your feedback with us.

Code:

Pop3Client client = new Pop3Client("outlook.office365.com", 995, "usertwo@ASE1985.onmicrosoft.com", "Aspose1234");
client.SecurityOptions = SecurityOptions.Auto;
Console.WriteLine(client.ListMessages().Count);
MailMessage eml = client.FetchMessage(1);
Console.WriteLine(eml.Attachments.Count);
Console.WriteLine(eml.LinkedResources.Count);
eml = client.FetchMessage(2);
Console.WriteLine(eml.Attachments.Count);
Console.WriteLine(eml.LinkedResources.Count);