# Exchange web service  EWS - Outbound email missing inline images

**URL:** <https://forums.pega.com/t/exchange-web-service-ews-outbound-email-missing-inline-images/3237>\
**Category:** User Experience\
**Tags:** email, other-industry, 8-6-2, user-experience, senior-system-architect\
**Created:** [September 16, 2022, 12:24am UTC](https://forums.pega.com/t/exchange-web-service-ews-outbound-email-missing-inline-images/3237 "2022-09-16T00:24:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ravi9779](https://avatars.discourse-cdn.com/v4/letter/r/8dc957/32.png) [@ravi9779](https://forums.pega.com/u/ravi9779)\
**Post date:** [September 16, 2022, 12:24am UTC](https://forums.pega.com/t/exchange-web-service-ews-outbound-email-missing-inline-images/3237/1 "2022-09-16T00:24:47Z")

</div>

We are using EWS API integration for EmailSync in Sales Automation implementation, however the outbound email is missing inline images. Is there a known issue?

Even the emails created using the SA Portal(Sales Ops) with headers/logos are missing the images.

I reviewed the posts below, but didn’t help.

> **[EWS API - Read mails with inline images and digital sign | Support Center](https://support.pega.com/question/ews-api-read-mails-inline-images-and-digital-sign)**
>
> Hi team , We are using Java EWS API 2 instead of email listener to connect to exchange server and retrieve emails. When we retrieve mail as HTML content , if the body has inline images we are not able to see the images in body as base 64 content , so...

[https://community.pega.com/node/2272306](https://community.pega.com/node/2272306)

---

<div class="post-metadata">

**Author:** ![Mahesh](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/mahesh/32/1146_2.png) [@Mahesh](https://forums.pega.com/u/Mahesh)\
**Post date:** [September 21, 2022, 4:01pm UTC](https://forums.pega.com/t/exchange-web-service-ews-outbound-email-missing-inline-images/3237/2 "2022-09-21T16:01:25Z")

</div>

@ravi9779 - Are you doing copy/past of the images in the email template (or) using insert image option in the email template.

If you are doing copy/paste then inline images should be displayed properly. Because in this case image will be part of HTML with ![]() tag so that it will go as it is to the exchange server. But when you used the insert image in the template then it will not be like image tag and it will be a separate link and exchange server could not find this link as this is pega server link.

@gundd @CaraPresseau

Thanks & Regards,

Mahesh

---

<div class="post-metadata">

**Author:** ![ravi9779](https://avatars.discourse-cdn.com/v4/letter/r/8dc957/32.png) [@ravi9779](https://forums.pega.com/u/ravi9779)\
**Post date:** [September 22, 2022, 2:14am UTC](https://forums.pega.com/t/exchange-web-service-ews-outbound-email-missing-inline-images/3237/3 "2022-09-22T02:14:25Z")

</div>

@Mahesh Thanks so much. That solved the issue. Although it created some unnecessary white spaces around the pasted image.

We were originally reusing the existing paragraph rules consisting of brand logo images which were created using the insert/upload image option.

---

<div class="post-metadata">

**Author:** ![ravi9779](https://avatars.discourse-cdn.com/v4/letter/r/8dc957/32.png) [@ravi9779](https://forums.pega.com/u/ravi9779)\
**Post date:** [October 11, 2022, 12:07pm UTC](https://forums.pega.com/t/exchange-web-service-ews-outbound-email-missing-inline-images/3237/4 "2022-10-11T12:07:34Z")

</div>

@Mahesh Identified another issue, where all inline images are being treated as attachments for inbound emails. So if I send an outbound email with inline images using drag and drop, when the customer replies, the same inline images are being treated as attachments and being added to EWSAttachments page list. And ultimately, emails are displayed on the Pega Portal with broken inline images, however the images are available as attachments to the Email case.

[@gundd](https://support.pega.com/users/gundd) [@CaraPresseau](https://support.pega.com/users/CaraPresseau)

---

<div class="post-metadata">

**Author:** ![ravi9779](https://avatars.discourse-cdn.com/v4/letter/r/8dc957/32.png) [@ravi9779](https://forums.pega.com/u/ravi9779)\
**Post date:** [October 17, 2022, 9:48am UTC](https://forums.pega.com/t/exchange-web-service-ews-outbound-email-missing-inline-images/3237/5 "2022-10-17T09:48:20Z")

</div>

This the product behavior. All inline images are processed as attachments for EWS interface as of Pega 8.6.3.
