You need to sign in to do that
Don't have an account?
cjen
Trigger to send an email to a list of contacts
HI, looking for some help to send an email. We need to send an email to a list of contacts where Role__c (custom) = Primary when an Asset related to the same Account moves to Status = Implementation Complete.
1. how can i get the list of contacts to send to?
2. How can i identify the template to use?
3. What is the best way to trigger the email? Can it be done with process builder?
the list of contacts should not exceed 10, but need to send the email to all Primary contacts related to the same account the asset is related to.
Any help would be much appreciated! Thanks!
1. how can i get the list of contacts to send to?
2. How can i identify the template to use?
3. What is the best way to trigger the email? Can it be done with process builder?
the list of contacts should not exceed 10, but need to send the email to all Primary contacts related to the same account the asset is related to.
Any help would be much appreciated! Thanks!
Yes, you can send email to more than 10 contacts from the apex.
Please find the sample code below and tweak it as per your requirement which helps you in resolving the issue. Basically, add all contact in the list and then send them in a single shot. In one time you can send 100 emails. So this will solve your problem.
Hope this helps.
Please mark this as solved if it's resolved so that it gets removed from the unanswered queue which results in helping others who are encountering a similar issue.
Thanks,
Nagendra