Skip to content

Commit

Permalink
fix: added access denied error parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
titanism committed Sep 24, 2023
1 parent ce9b2e5 commit 4d9d57c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions helpers/get-bounce-info.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ function getBounceInfo(err) {
bounceInfo.category = 'network';
} else if (response.includes('unsolicited mail')) {
bounceInfo.category = 'spam';
} else if (response.toLowerCase().includes('access denied')) {
bounceInfo.category = 'blocklist';
} else if (
//
// if it was apple (icloud.com, me.com, or mac.com)
Expand Down

0 comments on commit 4d9d57c

Please sign in to comment.