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 b4df544 commit 36a0d47Copy full SHA for 36a0d47
sparkpost.class.php
@@ -121,7 +121,9 @@ public function init_sp_http_mailer($args)
121
return $args;
122
}
123
124
- static function is_sandbox($email) {
125
- return array_slice(explode('@', $email), -1)[0] === 'sparkpostbox.com';
+ static function is_sandbox($email)
+ {
126
+ $email_splitted = array_slice(explode('@', $email), -1);
127
+ return $email_splitted[0] === 'sparkpostbox.com';
128
129
0 commit comments