From 21341b632ca84f106a899f2e2daf59847488fdae Mon Sep 17 00:00:00 2001 From: Dan Cryer Date: Tue, 29 Jul 2014 17:24:13 +0100 Subject: [PATCH] Allow users to turn off SMTP encryption. Fixes #495 --- PHPCI/Controller/SettingsController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PHPCI/Controller/SettingsController.php b/PHPCI/Controller/SettingsController.php index ebcab7e8..b8dcb556 100644 --- a/PHPCI/Controller/SettingsController.php +++ b/PHPCI/Controller/SettingsController.php @@ -75,6 +75,8 @@ class SettingsController extends Controller public function email() { $this->settings['phpci']['email_settings'] = $this->getParams(); + $this->settings['phpci']['email_settings']['smtp_encryption'] = $this->getParam('smtp_encryption', 0); + $error = $this->storeSettings(); if ($error) {