function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Email Button - Email Template

I would like to create a custom button in the Contact detail page that when we click on it, it sends an email template capturing the information of that paricular contact.


How can I do this? Any code would be very much appreciate it!




Use ajax to call your apex method and then in code send email using template


Hi Chicho,

Its your lucky day. :D

Put this in your custom button and replace with Ids in your system.



 More Detail on this: