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 attachment

Hi,
 
I have a code which is sending a mail to the customer with the attachment . In the attachment, 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
TehNrdTehNrd
Static resources are hosted in salesforce.com and are therefore not accessible to users that are not logged in to salesforce. You can try using attachments and then making the images public.
s_foos_foo

Thanx for your reply. Do u mean,  i should not use static resouces in those pages which are attachments?

Thanx

S

TehNrdTehNrd
If you want the images viewed by someone that does not have salesforce.com access or will not be logged in that is correct.