diff --git a/composer.json b/composer.json index 80f99bb..0d9a9b3 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,7 @@ "authors": [ { "name": "Ashley Breeden", - "email": "ash@url.net.au" + "email": "ash@apbtechnology.com.au" } ], "require": { diff --git a/src/Abreeden/TransmitsmsApi/TransmitsmsApi.php b/src/Abreeden/TransmitsmsApi/TransmitsmsApi.php index 075c4f1..81b4ea7 100644 --- a/src/Abreeden/TransmitsmsApi/TransmitsmsApi.php +++ b/src/Abreeden/TransmitsmsApi/TransmitsmsApi.php @@ -48,7 +48,7 @@ protected static function request($method, $params=array()) curl_setopt($ch, CURLOPT_POSTFIELDS, $params); curl_setopt($ch, CURLOPT_USERAGENT, "transmitsmsAPI v.2"); curl_setopt($ch, CURLOPT_PORT, $port); - curl_setopt($ch, CURLOPT_SSLVERSION, 3); + curl_setopt($ch, CURLOPT_SSLVERSION, 6); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($ch, CURLOPT_MAXREDIRS, 3); @@ -539,4 +539,4 @@ public static function getBalance() return self::handleResponse(self::request('get-balance')); } } -?> \ No newline at end of file +?>