What does the error "Limit_Exceeded: Too many target object ids" mean. I couldn't find any documentation related to this. We are getting this error when we do mass emails from Apex in Salesforce.
1
-
Does it have to do with the merge field? help.salesforce.com/… of 200? – EricSSH Aug 3 '16 at 15:38
Add a comment
|
See the documentation.
You can list up to 250 IDs per email. If you specify a value for the targetObjectIds field, optionally specify a whatId as well to set the email context to a user, contact, or lead. This ensures that merge fields in the template contain the correct data.
-
3Can you add the relevant information from that link? You know the drill. :P – Adrian Larson♦ Aug 3 '16 at 17:21
-
Thank you. I was able to replicate the issue in sandbox based on this info. – RajeshShah Aug 4 '16 at 14:55