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
bohemianguy100bohemianguy100 

trying to locate where an email is getting sent from Salesforce

There is an email template that is getting sent thru Salesforce, but I can't find where it is getting sent from.  I've checked all the email alerts and there is no email alert that uses the email template that is getting sent via a workflow or an approval process.  I've also looked in the triggers and apex classes and it does not appear to be getting sent thru there either.

 

Is there a way I can quickly locate where and how an email template is getting sent thru Salesforce?  Something like "Where is this used?"  I cannot not figure out where this is getting sent.

 

Any help is appreciated.

Thanks.

mike4adaymike4aday
@bohemianguy100:

Have you already tried searching for the template name with the Force.com IDE?

If you add all the workflow, Apex class, and trigger metadata components to your Force.com project, you could then search across all the project components for a text string that matches the template name. (In the "Search" menu, select "File" and then enter the template name in the "Containing text:" field, and "*.*" in the "File name patterns:" field.)

I hope this helps.