End users getting broken images in their own email client but in SN they show up fine
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2025 07:57 AM
Hello everyone! To establish some context, the client has a survey system through CSM where the email survey with a banner, footer and scoring smiley are included in the email HTML.
An important thing to note is that this issue is happening in production only. I've replicated this in other instances of the client, and it works just fine.
The issue is, the end user is seeing most of the images broken in the email (which includes the banner, footer and scoring smiley images). This is a screenshot of what the end user sees through the email client:
The funny thing is that, if I check this email through ServiceNow, it appears that it was sent correctly (as shown in the following screenshot):
I've verified the HTML several times now and, at least what I can see, it doesn't seem to be anything from with the email code (unless I'm missing something). Here is a code snippet of one of the images being displayed in the image:
HTML code snippet
HTML
<td style="vertical-align: bottom; height: 102px; width: 100px;"><a style="text-decoration: none;" href="imagine this is a link to the survey page with the score value of '1'"><img style="align: baseline;" title="" src="angry.png" alt="" width="100" height="100" align="bottom" border="" hspace="" vspace=""></a></td>
I've also checked data regarding one of the images:
What I've tried to far is:
- Increasing the glide.email.outbound.max_total_attachment_size_bytes to 35MB
- Adding a '/' before the image source file name (example: src="/angry.png")
- Replacing the image section of the HTML with a mail script (I was hoping for this to work but it did not).
I've also been checking the following community posts for this issue, but nothing has worked so far:
- Solved: Broken Images in Email Notification - ServiceNow Community
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2025 11:43 AM
Hello @GeorgeCV
Instead of using five different images, just use one and it should work as expected.
Hope that helps!
Hope that helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2025 12:14 PM
Hi @Vishal Jaswal . The 5 different images are necessary as each are used to link the end user to a score between 1-5 for the sent survey.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2025 04:06 AM
Hello @GeorgeCV
Then I will suggest 5 different tests; add first image only, send e-mail and validate in outlook. Then add second image, send e-mail and validate in outlook and keep doing the same till the 5th image.
During this if any of the image disappear in the outlook then try to use another one instead.
Hope that helps!