+ Start a Discussion
Cheerag VijayaCheerag Vijaya 

Email Templates in VF page

Hi I have to create a VF Page. In that page I have to display email template folders by using <apex:selectoptions>. After selecting the email template folder it should display the email template under that email template folder. We have a look up field in vf page displaying the Users available. After selecting the Users in the look-up field, the body of email-template containing {!User.Name} should get replaced by the user selected in the look-up field.