Fix SMTP scheme/ encryption (#1120)

This commit is contained in:
Boy132
2025-03-21 08:42:42 +01:00
committed by GitHub
parent adca50a372
commit 82b0aff105
3 changed files with 9 additions and 18 deletions

View File

@@ -42,7 +42,7 @@ return [
'smtp' => [
'transport' => 'smtp',
'scheme' => env('MAIL_SCHEME', env('MAIL_ENCRYPTION')),
'scheme' => env('MAIL_SCHEME', env('MAIL_ENCRYPTION') === 'ssl' || env('MAIL_ENCRYPTION') === 'tls' ? 'smtps' : 'smtp'),
'url' => env('MAIL_URL'),
'host' => env('MAIL_HOST', '127.0.0.1'),
'port' => env('MAIL_PORT', 2525),