You need to sign in to do that
Don't have an account?
Anshul Kapoor 13
Image is not shown for the Rich Area Text field on email
Hi All,
<messaging:emailTemplate subject="Need the access" recipientType="User" relatedToType="X411_Support__c">
<messaging:htmlEmailBody >
<html>
<body>
<p>Dear {!recipient.name},</p>
<apex:outputField value="{!relatedTo.Comment__c}" />
</body>
</html>
</messaging:htmlEmailBody>
</messaging:emailTemplate>
Above is the line of code of Visualforce email template. Comment is the Rich Text Area field of object 'X411_Support__c'. On firing an email, the email does not show the image of rich text area field.
I have used the tag <apex:outputText value = "{!relatedTo.Comment__c}" escape = "false"/>. But no use.
Could some body help me regarding code, so the image is displayed on email.
<messaging:emailTemplate subject="Need the access" recipientType="User" relatedToType="X411_Support__c">
<messaging:htmlEmailBody >
<html>
<body>
<p>Dear {!recipient.name},</p>
<apex:outputField value="{!relatedTo.Comment__c}" />
</body>
</html>
</messaging:htmlEmailBody>
</messaging:emailTemplate>
Above is the line of code of Visualforce email template. Comment is the Rich Text Area field of object 'X411_Support__c'. On firing an email, the email does not show the image of rich text area field.
I have used the tag <apex:outputText value = "{!relatedTo.Comment__c}" escape = "false"/>. But no use.
Could some body help me regarding code, so the image is displayed on email.
<apex:outputText value = "{!relatedTo.Comment__c}" escape = "true"/>
Thank you
Prady01
Thanks for your reply.
I have used the tag: <apex:outputText value = "{!relatedTo.Comment__c}" escape = "true"/>. But, instead of showing the image, it is showing the url of image.
Could some body reply to my post.
Thank you
Prady01