You need to sign in to do that
Don't have an account?
Indeevar
Handling Messaging.SingleEmailMessage limit of 10
HI
There is a requirement to send emails to contact owners for birthdays of their
respective contacts. So we are calling Messaging.SingleEmailMessage method within an Apex class
in a loop. But in the Apex class there is a limitation that this method cannot be called more
than 10 times. Contact Owners are more than 50 though. The loop runs this many times .
How to handle this governor limit issue?
Hope this helps.