diff --git a/PHPCI/Controller/SettingsController.php b/PHPCI/Controller/SettingsController.php
index <HASH>..<HASH> 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) {
Allow users to turn off SMTP encryption.

Fixes #<I>