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
AnchalGoelAnchalGoel 

Checkboxes or Image doesn't show up in Email

Hi,
 
I have created an email template in Visualforce which displays a form including checkboxes, text boxes and labels. Everything works fine except the checkboxes. The checkbox values doesnt display in the outlook email, nor does a image of a checkbox. Instead I see a Image box with a red cross sign.
 
Code:
<apex:outputLabel rendered="{!relatedTo.LAN__c}"><apex:image url="https://na1.salesforce.com/servlet/servlet.FileDownload—file=01530000000dpeZ"/></apex:outputLabel>
<apex:outputLabel rendered="{!!relatedTo.LAN__c}"><apex:image url="https://na1.salesforce.com/servlet/servlet.FileDownload–file=01530000000dpee"/></apex:outputLabel>
 

The checkbox image has been stored in the Documents folder in salesforce and I have made it externally availaible. 
I tried using a static Resource which did not work either. Also, I have modified my outlook settings to display images but still dont see the image.
 
Please let me know,
Anchal
Best Answer chosen by Admin (Salesforce Developers) 
Rasmus MenckeRasmus Mencke
If the images are not showing up, make sure they are fully qualified and not authenticated. You will need the full url including http://www.myimages.com/imageName.jpg

if the image is stored in salesforce make sure it is publicly available. The checkboxes might be blocked my outlook, are you sure that is supported by your outlook client, you might have to change some security setting

All Answers

KeithJKeithJ
Check box values are either true or false.
What is the value within the outputLabel? What is
!relatedTo.LAN__c
?
Regards


Message Edited by KeithJ on 12-02-2008 09:12 AM
AnchalGoelAnchalGoel

!relatedTo.Lan__c is the name of my checkbox field. And I tried using checkbox values but that didnt work. Hence, I am using images.

-Anchal

Rasmus MenckeRasmus Mencke
If the images are not showing up, make sure they are fully qualified and not authenticated. You will need the full url including http://www.myimages.com/imageName.jpg

if the image is stored in salesforce make sure it is publicly available. The checkboxes might be blocked my outlook, are you sure that is supported by your outlook client, you might have to change some security setting
This was selected as the best answer
cogcog
I have the same problem with resource images in outlook. The problemt seems to be specific to outlook. If you try sending the email to, say yahoo, the image shows up. I think its the lack of an extention for the resource image that outlook doesn't like, i donnow.