We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c20b290 commit 38c1f98Copy full SHA for 38c1f98
app/SendmailWrapper.php
@@ -136,9 +136,13 @@ public function run()
136
}
137
138
// terminate if message limit exceeded
139
- if ($throttleOn && $status > SendmailThrottle::STATUS_OK && !($ignoreExceptions && $status == SendmailThrottle::STATUS_EXCEPTION)) {
140
- // return exit status
141
- return $status;
+ if ($throttleOn && $status > SendmailThrottle::STATUS_OK) {
+ if ($ignoreExceptions && $status == SendmailThrottle::STATUS_EXCEPTION) {
+ $status = SendmailThrottle::STATUS_OK;
142
+ } else {
143
+ // return exit status
144
+ return $status;
145
+ }
146
147
148
// get arguments
0 commit comments