Volunteers-for-Salesforce icon indicating copy to clipboard operation
Volunteers-for-Salesforce copied to clipboard

Improve error handling of Mass Email Volunteers page

Open davidhabib opened this issue 7 years ago • 2 comments

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.

davidhabib avatar Dec 14 '17 15:12 davidhabib

**lurch: add

davidhabib avatar Dec 14 '17 15:12 davidhabib

Tracking W-021557

LurchTheButler avatar Dec 14 '17 15:12 LurchTheButler