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
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.