+ Start a Discussion

Small image appearing at the bottom of Email template

I am creating an Email Template in Lightning. I am using a HTML tepmplate.
Email template is working all fine just that a small 1px X 1px is added at the end of the email template.

This image is added dynamically. Can anyone tell me why this image is added and how to get rid of it.

Thanks in advance
Mark Tyler CrawfordMark Tyler Crawford
I am having this issue as well. I have looked at the source of the email and it appears salesforce is automatically adding some small image to the email (I imagine it is attempting to add the company logo?). 

<img src=3D"http://companyname= devOrg.cs61.my.salesforce.com/servlet/servlet.ImageServer?oid=3D00D5C0000= 00LJmS&amp;esid=3D0185C000000YxGN">

Looking into a resolution for this
Mark Tyler CrawfordMark Tyler Crawford
So this issue appears only in the outlook desktop client for emails that were sent via the Apex messaging class. The image that you are seeing is automatically added by salesforce. The image is used for some of the emailed based tracking features that make Salesforce powerful. It is automatically added and unfortunately cannot be removed.  

Outlook detects this as an image with an invalid URL. When outlook see's an invalide image it displays a box with a red x to indicate where the image should have loaded. Which is why you are seeing the red x box in the email. So unfortunately the short answer is no, you cannot hide the red box without changing settings within outlook. 

Mark Tyler CrawfordMark Tyler Crawford
Correction, the image can be removed if you disable email tracking under the sales app activity settings. Note that Salesforce will no longer track email metrics such as emails opened. You will no longer be able to run accurate html email tracking reports if you disable this feature.

Setup | Build | Customize | Activities | Activity Settings | Enable Email Tracking (checkbox)

Setup | Feature Settings | Sales | Activity Settings | Enable Email Tracking (checkbox)​
Mandodari RawatMandodari Rawat
The image is automatically added by salesforce in order to track emails in case the Email Tracking is enabled in Salesforce inbox sidepanel. 
In order to make these images invisible to the sender or receiver, go to your outlook's Trust Center settings and check the following checkboxes:
  •  Don't download pictures automatically in standard HTMLL email messages or RSS items
  •  Don't download pictures in encrypted or signed HTML email messages
Lynette von AllmenLynette von Allmen
Am I correct in believeing that if an Outlook User does not update their Trust Center settings and does not click the "download images" alert that appears on the email than Salesforce is not tracking that the email has been opened?
Brandy OliverBrandy Oliver
I found this link in case it is helpful: Static resources images are missing in emails from Salesforce (https://help.salesforce.com/s/articleView?id=000322940&type=1)