Enhance SMTP configuration with encryption options

Updated SMTP configuration to include encryption settings and removed default values.
This commit is contained in:
Fernando
2026-02-18 22:58:04 -06:00
committed by GitHub
parent 89e11864a5
commit 6dab3a6d5f
+11 -5
View File
@@ -39,14 +39,20 @@ return [
'smtp' => [ 'smtp' => [
'transport' => 'smtp', 'transport' => 'smtp',
'scheme' => env('MAIL_SCHEME'), 'host' => env('MAIL_HOST'),
'url' => env('MAIL_URL'), 'port' => env('MAIL_PORT'),
'host' => env('MAIL_HOST', '127.0.0.1'), 'encryption' => env('MAIL_ENCRYPTION'),
'port' => env('MAIL_PORT', 2525),
'username' => env('MAIL_USERNAME'), 'username' => env('MAIL_USERNAME'),
'password' => env('MAIL_PASSWORD'), 'password' => env('MAIL_PASSWORD'),
'timeout' => null, 'timeout' => null,
'local_domain' => env('MAIL_EHLO_DOMAIN', parse_url((string) env('APP_URL', 'http://localhost'), PHP_URL_HOST)),
'stream' => [
'ssl' => [
'verify_peer' => false,
'verify_peer_name' => false,
'allow_self_signed' => true,
],
],
], ],
'ses' => [ 'ses' => [