function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Eran VizelEran Vizel 

Embedding Picture in Visualforce Email Template Doesn't Seem to Work

Hi,

I'm trying to embed a pic within a Visualforce email template. The pic is taken from the Documents using this tag:

<apex:image value="https://perfectomobile--sandbox--c.cs8.content.force.com/servlet/servlet.FileDownload?file=015L0000000AsEM"/>

However, when I send a test email, this picture link just shows as broken:

Broken Image Link

The image doc is defined as "Available for External Use".

Please advise,
Thank you,
Eran

 

ShashankShashank (Salesforce Developers) 
You might want to ensure if the right access is set on the image document file. "Externally Available Image" should be checked: https://help.salesforce.com/HTViewHelpDoc?id=docs_upload.htm&language=en_US