mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-20 23:36:21 +08:00
fix(send): Check for number of BCC participants before using multi-send
This commit is contained in:
parent
df45ec49cc
commit
51270f9e04
|
@ -66,7 +66,7 @@ export default class SendDraftTask extends BaseDraftTask {
|
|||
|
||||
// Sending individual bodies for too many participants can cause us
|
||||
// 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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue