diff --git a/src/Mailgun/Connection/RestClient.php b/src/Mailgun/Connection/RestClient.php index af90406..5d0665b 100644 --- a/src/Mailgun/Connection/RestClient.php +++ b/src/Mailgun/Connection/RestClient.php @@ -54,6 +54,7 @@ class RestClient * If we should use SSL or not. * * @var bool + * @deprecated To be removed in 3.0 */ protected $sslEnabled = true; @@ -351,6 +352,7 @@ class RestClient * @param bool $sslEnabled * * @return RestClient + * @deprecated To be removed in 3.0 */ public function setSslEnabled($sslEnabled) { diff --git a/src/Mailgun/Mailgun.php b/src/Mailgun/Mailgun.php index ca2b38d..5f9caa8 100644 --- a/src/Mailgun/Mailgun.php +++ b/src/Mailgun/Mailgun.php @@ -173,6 +173,7 @@ class Mailgun * @param bool $sslEnabled * * @return Mailgun + * @deprecated This will be removed in 3.0. Mailgun does not support non-secure connections to their API. */ public function setSslEnabled($sslEnabled) {