Activity Forums Salesforce® Discussions How can I create Email Template from a Salesforce Visualforce page?

  • Suyash

    Member
    April 14, 2016 at 7:54 am

    Hi Ajay

    A direct article is written on your query.
    Go through the following link and you may find your answer

    https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_email_templates_creating.htm

    Thanks

  • Ravi

    Member
    April 14, 2016 at 7:54 am

    Hi Ajay,
    You can create Visualforce Email Template with custom controller.
    reffer this link:
    http://www.infallibletechie.com/2013/05/visualforce-email-template-with-custom.html

  • Satyakam

    Member
    April 14, 2016 at 8:01 am

    hi ajay,

    you may go through following link.this may help you to solve problem.

    http://sfdcsrini.blogspot.com/2014/07/visualforce-email-template-with-custom.html

    • This reply was modified 8 years, 8 months ago by  Satyakam.
  • PRANAV

    Member
    January 25, 2018 at 3:11 pm

    Hi Ajay,

    • Enter Templates in the Quick Find box, then select Email Templates or My Templates—whichever one appears.
    • Click New Template.
    • Choose Visualforce and click Next.
    • Choose a folder in which to store the template.
    • To make the template available for use, select the Available For Use checkbox.
    • Enter a name in Email Template Name.
    • Enter a subject line for your template in Email Subject.
    • In the Recipient Type drop-down list, select the type of recipient to receive email created from the template.
    • Click Save.
    • On the View Email Templates in Salesforce Classic page, click Edit Template.

    Now you can build your own custom VF template through your coding and as per your requirements.

    Hope this helps you.

Log In to reply.

Popular Salesforce Blogs