Questions tagged [lightning-email-template]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
93 views

Can we send Lightning Email Templates via Apex Code?

I'm trying to send a 30 days before renewal email reminder, based on a date field on the Account, and want to run a daily Scheduled Job to grab these relevant accounts and send out the email template. ...
0
votes
0answers
39 views

How to use HML Conditional Merge Fields in Salesforce Email Template?

I was trying to create a Lightning Email template and came across the need to conditionally display fields on the e-mail sent. Searching the web regarding this issue drove me into this Use HML ...
0
votes
1answer
25 views

Lightning Email Template - “Click the Source icon to add HTML code” option missing

I am trying to see the html of my Lightning email template. According to the documentation, I should see an option "Click the Source icon to add HTML code" I don't see this option. Thoughts? ...
2
votes
1answer
94 views

Lightning Merge Fields Preview

I have recently moved to Lightning Email Template from custom classic email template. The difference I have observed is: Classic Email template resolve the merge fields upon insertion into Email ...
0
votes
0answers
20 views

Make A Lightning E-mail Header/Footer Dynamic Based Off Of Location

I’m working with an org that has acquired multiple businesses underneath it; they all have different logos. I want to make a lightning dynamic letterhead that displayed their email Footer/Header ...
3
votes
1answer
536 views

Error when doing force:source:pull after creating an Email Template in a scratch org

I created a scratch org with the default scratch org definition file from sfdx force:project:create, and then I created an email template from the Email templates tab, and a Custom Object. When I did ...
3
votes
1answer
405 views

Validate Merge Fields on a Lightning Email Template in Apex

Is there a way to retrieve the merge fields of a specific Lightning Email Template in Apex? Example EmailTemplate template = new EmailTemplate(); template.getMergeFields(); I would like to validate ...
2
votes
1answer
2k views

Converting Email Templates from Classic to Lightning with “Not Allowed” errors

We are trying to convert some of our Classic email templates to Lightning email templates, but when we try to save our custom HTML into the source, we are receiving the following errors. The content ...