diff --git a/src/Snowcap/Emarsys/Client.php b/src/Snowcap/Emarsys/Client.php index fcfd14a..3d62e58 100644 --- a/src/Snowcap/Emarsys/Client.php +++ b/src/Snowcap/Emarsys/Client.php @@ -777,6 +777,19 @@ public function createCustomField($name, $type) return $this->send(HttpClient::POST, 'field', array('name'=>$name, 'application_type'=>$type)); } + /** + * Adds list of emails and domains to blacklist + * + * @param array $emails + * @param array $domains + * + * @return Response + */ + public function addBlacklistEntries(array $emails = array(), array $domains = array()) + { + return $this->send(HttpClient::POST, 'blacklist', array('emails' => $emails, 'domains' => $domains)); + } + /** * @param string $method * @param string $uri