fix(send): Check for number of BCC participants before using multi-send

This commit is contained in:
Jackie Luo 2016-09-02 11:51:04 -07:00
parent df45ec49cc
commit 51270f9e04

View file

@ -66,7 +66,7 @@ export default class SendDraftTask extends BaseDraftTask {
// Sending individual bodies for too many participants can cause us // Sending individual bodies for too many participants can cause us
// to hit the smtp rate limit. // to hit the smtp rate limit.
if (this.draft.participants({includeFrom: false}).length > 10) { if (this.draft.participants({includeFrom: false, includeBcc: true}).length > 10) {
return false; return false;
} }