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
sg88324sg88324 

HTML email templates

Hi All,

 

I have a requirement to have an email template for an email on Opportunity object.

I have to include account name and billing country as well in the mail. i ve used merge fields of account but it didnt work though account is related to Opportunity. So is it like VF email template is the only way to resolve this issue? is it like we can use fields from the opportunity only if the email is fired on Opportunity?

 

Please help!

 

Thanks,

Sandeep

yudhvirmoryudhvirmor

no, you don't need to use VF template. Please enter {!Account.Field_name}. It'll display Account fields on the template.

sg88324sg88324

i tried. That didnt work. theres no problem with account name now cos thers an account name field on opportunity.

Thers another solution than VF page. i can have formula field on opportunity as a hidden one and use that in email template.