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
JJmemphisJJmemphis 

Change sending from email address when using a specific template

I am trying to do something and wondering if it can be done with a trigger.

I have an email template called "Certificates Send Out" and I want to make it so that when that template is selected, the "From" Email address changes to service@example.com so that any responses to that email goes automatically to that box.

Am I going about this wrong with trying to do a trigger and not something else?
VaasuVaasu
If you can use visualforce template,there is an option called "replyto".
JJmemphisJJmemphis
Thanks Vaasu. Is there any link that you suggest that I can read more on using visualforce templates?
VaasuVaasu
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_email_templates_creating.htm
JJmemphisJJmemphis
Thanks!