Describe the bug
Transactional emails are being sent in a for loop in the registration trigger code resulting in a "Too many API email invocations" error. Currently only 10 emails are allowed to be sent during one transactional event. The error and solution are defined here:
Describe the bug Transactional emails are being sent in a for loop in the registration trigger code resulting in a "Too many API email invocations" error. Currently only 10 emails are allowed to be sent during one transactional event. The error and solution are defined here:
https://help.salesforce.com/s/articleView?id=000385111&type=1
To Reproduce Steps to reproduce the behavior:
Solution "Bulkify" the email message into a list and send with one sendmail as described in the link above.