Skip to content

Commit

Permalink
fix: prevent capacity message alerts to admins
Browse files Browse the repository at this point in the history
  • Loading branch information
titanism committed Dec 11, 2024
1 parent 8d1c4ec commit 6f637d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/on-data-mx.js
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ async function checkBounceForSpam(bounce, headers, session) {
if (
session.isAllowlisted &&
sendCountEmail &&
!['envelope', 'network', 'greylist', 'blocklist'].includes(
!['capacity', 'envelope', 'network', 'greylist', 'blocklist'].includes(
bounce.err.bounceInfo.category
)
) {
Expand Down

0 comments on commit 6f637d3

Please sign in to comment.