Print this page

Email templates not displaying images when receiving emails?

Knowledge Article Number 000005925
Description

We have some templates with images but they do not get rendered once we receive the email when have tried selecting download images etc.. so not sure what is going on, these were working before?

Resolution

There are two ways of sending images in email templates: Documents and Static Resources.

The problem with the document is that you have to keep the document ID. It is better to use a static resource. In order to have a static resource accessible in an email, it must meet certain criteria:

1. The static resource must be set [Cache-Control = Public].
2. You must use the sites URL as the server, this is why I used [http://bankofcyprusuk.force.com{!URLFOR(...)}]
3. The spelling of the Static Control must match exactly (it is case sensitive) to the path inside the ZIP file.





promote demote