Avoid Messaging Operation In Loop
Impact area
Performance
Severity
High
Affected element
Apex Class
Rule ID
SF-AVOID-MSG-IN-LOOP
Impact
Messaging Operation inside loops can cause you to hit the governor limit.
Remediation
Try to batch up the data into a list and send your messages once on that list of data outside the loop.
Time to fix
60 min