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 e75a5a3 commit f9574edCopy full SHA for f9574ed
mailer.http.class.php
@@ -136,6 +136,10 @@ protected function get_request_body()
136
$body['content']['attachments'] = $attachments;
137
}
138
139
+ if (isset($body['content']['from']['email']) && SparkPost::is_sandbox($body['content']['from']['email'])) {
140
+ $body['options']['sandbox'] = true;
141
+ }
142
+
143
$body = apply_filters( 'wpsp_request_body', $body);
144
145
return $body;
0 commit comments