diff --git a/Resources/Private/Contrib/Mailjet/Mailjet.php b/Resources/Private/Contrib/Mailjet/Mailjet.php index b3eb191..f5b67e2 100644 --- a/Resources/Private/Contrib/Mailjet/Mailjet.php +++ b/Resources/Private/Contrib/Mailjet/Mailjet.php @@ -252,7 +252,7 @@ public function data($method, $id, $type = 'HTML', $contType = 'text:html', $par curl_setopt($this->_curl_handle, CURLOPT_HTTPHEADER, ["Content-Type: " . $contType]); curl_setopt($this->_curl_handle, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($this->_curl_handle, CURLOPT_SSL_VERIFYHOST, 2); - curl_setopt($this->_curl_handle, CURLOPT_USERAGENT, 'typo3-v1'); + curl_setopt($this->_curl_handle, CURLOPT_USERAGENT, 'typo-3-1.0.2'); curl_setopt($this->_curl_handle, CURLOPT_USERPWD, $this->_apiKey . ':' . $this->_secretKey); @@ -710,7 +710,7 @@ private function sendRequest($method = FALSE, $params = [], $request = "GET", $u curl_setopt($this->_curl_handle, CURLOPT_TIMEOUT, 10); //timeout in seconds curl_setopt($this->_curl_handle, CURLOPT_USERPWD, $this->_apiKey . ':' . $this->_secretKey); - curl_setopt($this->_curl_handle, CURLOPT_USERAGENT, 'typo-3.0'); + curl_setopt($this->_curl_handle, CURLOPT_USERAGENT, 'typo-3-1.0.2'); switch ($request) { diff --git a/ext_emconf.php b/ext_emconf.php index e32a304..d7aac0e 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -11,7 +11,7 @@ 'uploadfolder' => '1', 'createDirs' => '', 'clearCacheOnLoad' => 0, - 'version' => '1.0.1', + 'version' => '1.0.2', 'constraints' => [ 'depends' => [ 'typo3' => '7.6.0-8.9.99',