diff --git a/classes/Kohana/Email.php b/classes/Kohana/Email.php index 85600aa..d04acc7 100644 --- a/classes/Kohana/Email.php +++ b/classes/Kohana/Email.php @@ -121,8 +121,8 @@ public function __construct($name, array $config) if ( ! empty($config['options']['encryption'])) { // Set encryption - $transport->setEncryption($config['options']['encryption']) - ->setStreamOptions(array('ssl' => array('verify_peer' => FALSE, 'verify_peer_name' => FALSE))); + $transport->setEncryption($config['options']['encryption']); +// ->setStreamOptions(array('ssl' => array('verify_peer' => FALSE, 'verify_peer_name' => FALSE))); } // Do authentication, if part of the DSN