forked from instaclick/PHPMailer-BMH
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from voku/analysis-XpZeJo
Apply fixes from StyleCI
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1242,7 +1242,7 @@ function bmhDSNRules($dsn_msg, $dsn_report, $debug_mode = false) | |
* sample: | ||
* Diagnostic-Code: SMTP; 554 Please visit http:// antispam.domain.com/denyip.php?IP=111.111.111.000 (#5.7.1) | ||
*/ | ||
elseif (false !== stripos($diag_code, "denyip")) { | ||
elseif (false !== stripos($diag_code, 'denyip')) { | ||
$result['rule_cat'] = 'antispam'; | ||
$result['rule_no'] = '0144'; | ||
} /* rule: antispam, deny ip | ||
|
@@ -1277,7 +1277,7 @@ function bmhDSNRules($dsn_msg, $dsn_report, $debug_mode = false) | |
* sample: | ||
* Diagnostic-Code: SMTP; 553 5.7.1 <[email protected]>... SpamTrap=reject mode, dsn=5.7.1, Message blocked by BOX Solutions (www.domain.com) SpamTrap Technology, please contact the domain.com site manager for help: (ctlusr8012). | ||
*/ | ||
elseif (false !== stripos($diag_code, "SpamTrap")) { | ||
elseif (false !== stripos($diag_code, 'SpamTrap')) { | ||
$result['rule_cat'] = 'antispam'; | ||
$result['rule_no'] = '0200'; | ||
} /* rule: antispam, mailfrom mismatch | ||
|