Volunteers-for-Salesforce
Volunteers-for-Salesforce copied to clipboard
Improve error handling of Mass Email Volunteers page
In VOL_CTRL_SendBulkEmail.SendEmail(), the error handling is enumerating over list<Messaging.SendEmailError>. Within this enumeration loop, it is querying for Contact names, one record at a time. This can lead to hitting soql limit errors. This logic needs to be redesigned to only query once for all the contact names at once.
**lurch: add
Tracking W-021557