+ Start a Discussion
aditya prasadaditya prasad 

How to Use email templates to send email in VF page?

I have created a link in Case which takes to a VF page from where you can send email to a Contact.I want to use all satndard email templates present within org to send email.Basically I need same functionalities to choose email templates as it works in Send Email(Standard Functionality). Is there any way to Achieve it?Plz help.
Amit Chaudhary 8Amit Chaudhary 8
Please check below post. I hope that will help you
http://amitsalesforce.blogspot.in/2015/11/singleemailmessage-vs-massemailmessage.html

Please let us know if this will help you

Thanks
Amit Chaudhary
aditya prasadaditya prasad
Hi Amit,
Thanks for your quick response.Link you have provided is quite helpful to develop an email service and also helpful when we use only predefined template.
But my requirement is :
if you click on Send Email button in the Case related list, it will take to a standard page.There you can see Select Template button.When you click on the button ,one pop up will open.there you will find all email templates.
I want to achieve that functionality through a VF page.
As I have mentioned, VF page already there ,need to create a button and it should work as same what I said above. Is it possible?

Thanks in advance for your valuable feedbacks.

Regards,
Aditya