You need to sign in to do that
Don't have an account?

static resource in custom html email template
Why am I unable to use <img src="{!$Resource.ilogo}" alt="i_logo" /> in a custom html email template, what am I doing wrong, its not letting me save!! please help?
The problem is not the img tag but I think I am hitting a SF bug. When I refer to a static resouce in custom html template as follows:
<link rel="stylesheet" type="text/css" href={!{!ID:$Resource.Styles}} />
it saves fine. But when I try to edit it, it is coming up as :
<link rel="stylesheet" type="text/css" href={!{!ID:$Resource.Styles}} />
and then when I hit save, its giving me
Try using <img src="{!URLFOR($Resource.ilogo)}" alt="i_logo" /> and make sure that your static resource's Cache Control is public.
Hope this helps you.........