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
nelrib88nelrib88 

is fetching email templates possible?

i have been trying to look for an answer to this for some time now.  is it possible to get the email templates of a user. if so what object would i be referencing.

 

thanks

force-be-with-youforce-be-with-you

I dont think you can simply query for this data.

 

May be you can fetch it as a metadata component using eclipse or ant migration tool logging in as that user.

In eclipse

1)Right click on the project Force.com-->Add/Remove Metadata components.

2)Click "Add/Remove" button.

3)check the email folder.

4) click "OK"

 

This should fetch you the email templates.