Add "none" as choice for MAIL_ENCRYPTION settings/install that translates to =NULL

This commit is contained in:
Darko Gjorgjijoski
2024-07-21 10:42:00 +02:00
parent 532a044bb9
commit 19bf467068
4 changed files with 4 additions and 4 deletions

View File

@@ -255,7 +255,7 @@ class EnvironmentManager
'MAIL_PORT' => $request->get('mail_port'),
'MAIL_USERNAME' => $request->get('mail_username'),
'MAIL_PASSWORD' => $request->get('mail_password'),
'MAIL_ENCRYPTION' => $request->get('mail_encryption'),
'MAIL_ENCRYPTION' => $request->get('mail_encryption') !== 'none' ? $request->get('mail_encryption') : 'null',
'MAIL_FROM_ADDRESS' => $request->get('from_mail'),
'MAIL_FROM_NAME' => $request->get('from_name'),
];