+ Start a Discussion
s_foos_foo 

Images in apexpage not rendered when sent as attachment.

Hi,
 
I have a code which is sending a mail to the customer with the attachment . In the attachment(apexpage), i have 2 images which are not rendered when the attahment is opened. When i look at  the attachment page in the app, they look fine. Any thoughts are appreciated.
 
<apex:image url="{!$Resource.Logo}" />
 
 
Thanx
 
S
sfdcfoxsfdcfox
Resources are stored on the Salesforce platform, and served only to authenticated users, and therefore won't appear unless the person viewing the attachment is logged into your instance of Salesforce. It would be better to have the file as an externally viewable image (documents tab/upload as new image with this checkbox), then copy the entire URL of the image into the url parameter.