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

Free Support Forum - aspose.com

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.


<span style=“font-size:
9.5pt;font-family:Consolas;mso-fareast-font-family:“Times New Roman”;
white”>Pop3Client client = <span style=“font-size:9.5pt;font-family:Consolas;mso-fareast-font-family:“Times New Roman”;
<span style=“font-size:9.5pt;font-family:Consolas;mso-fareast-font-family:
“Times New Roman”;mso-bidi-font-family:Consolas;color:#2B91AF;background:white;
mso-highlight:white”>Pop3Client(<span style=“font-size:9.5pt;font-family:Consolas;mso-fareast-font-family:“Times New Roman”;
white”>“outlook.office365.com, 995, <span style=“font-size:9.5pt;font-family:Consolas;mso-fareast-font-family:“Times New Roman”;
<span style=“font-size:9.5pt;font-family:Consolas;mso-fareast-font-family:
“Times New Roman”;mso-bidi-font-family:Consolas;color:#A31515;background:white;

client.SecurityOptions = SecurityOptions.Auto;


MailMessage eml = client.FetchMessage(1);



eml = client.FetchMessage(2);