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