[TASK] Add preset for mail SMTP settings in install tool
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / Classes / Configuration / Mail / CustomPreset.php
index 9fd5db4..b860dc4 100644 (file)
@@ -19,12 +19,17 @@ use TYPO3\CMS\Install\Configuration;
 /**
  * Custom preset is a fallback if no other preset fits
  */
-class CustomPreset extends Configuration\AbstractCustomPreset implements Configuration\CustomPresetInterface {
-
-       /**
-        * @var array Configuration values handled by this preset
-        */
-       protected $configurationValues = array(
-               'MAIL/transport_sendmail_command' => '',
-       );
+class CustomPreset extends Configuration\AbstractCustomPreset implements Configuration\CustomPresetInterface
+{
+    /**
+     * @var array Configuration values handled by this preset
+     */
+    protected $configurationValues = [
+        'MAIL/transport' => '',
+        'MAIL/transport_sendmail_command' => '',
+        'MAIL/transport_smtp_server' => '',
+        'MAIL/transport_smtp_encrypt' => '',
+        'MAIL/transport_smtp_username' => '',
+        'MAIL/transport_smtp_password' => '',
+    ];
 }