You need to sign in to do that
Don't have an account?
Dinesh Annapareddy
Apex Email Preview ?
Hi,
I wanted a custom Email send using Visual force page. End user picks the Template and Recepient .
How should i give preview of the Email before sending it.
How can i show a preview of the Email being sent ?
I wanted a custom Email send using Visual force page. End user picks the Template and Recepient .
How should i give preview of the Email before sending it.
How can i show a preview of the Email being sent ?
<apex:inputTextArea value="{!..some variable in controller}" />
In your controller you need to fetch the email template body
Query ---Select Id, Description, Name, IsActive,body,Folder.Name, subject,HtmlValue From EmailTemplate Where name =: Selected Template Name
Then assign the value of the body field to the variable used in the inputTextArea