You need to sign in to do that
Don't have an account?
sadik Shaik
letterhead is not being shown for emails in apex
I have an email template with letetrhead and i am accessing it in code and replacing some merge fields.The lettehead which i have is not being shown in the emails but the getting the content as it is. Any idea on this, thanks in advance.
Greetings to you!
You can query the BrandTemplateId from the EmailTemplate object, and from there, you can query the BrandTemplate, which is in HTML form.
You need to put the letterhead in sethtmlbody method to access it.
I hope it helps you.
Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future.
Thanks and Regards,
Khan Anas
Thanks for the replay. I am able to get this Brandtemplate id, but how to put the letterhead in sethtmlbody method, could you elobarate more.
Thanks in advance.