+ Start a Discussion
RJ12RJ12 

Display Visualforce Email Template Body with VF Component in LWC

Before sending out an email I have to preview the body of a Visualforce email template in 'lightning-input-rich-text' component in LWC.
The VF email template has a VF component inside it to generate customizable content.

When I pass the 'Markup' of EmailTemplate as value to the 'lightning-input-rich-text', it is displaying the content (static text and images) which I used in the VF email template but it is not showing the content from the VF Component.

Could anyone help me with this?
Any alternate solutions are also appreciated.