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
stevewstevew 

API Access to EMail templates

Hello
 
We need to send Lead assignment alert emails to individuals other than the lead, lead owner or any other system users. To accomplish this, I've created a small Windows service that periodically polls SalesForce to find new leads and then sends out the additional emails - not a perfect solution, but it works. This leads me to two questions. Is there another way to send these emails? And if not, can I access Email templates as documents through the API so that administrators can still use the SalesForce interface to create and maintain the templates and my code can populate the fields when the emails are sent?
 
Thanks In Advance,
Steve
brainsharkbrainshark
Did you find an answer to your question? I'm interested in doing something similar.
stevewstevew

No, I'm still using the same process - manually copying the email templates from SalesForce to my polling service.

-Steve