Enhance SMTP configuration with encryption options
Updated SMTP configuration to include encryption settings and removed default values.
This commit is contained in:
+11
-5
@@ -39,14 +39,20 @@ return [
|
||||
|
||||
'smtp' => [
|
||||
'transport' => 'smtp',
|
||||
'scheme' => env('MAIL_SCHEME'),
|
||||
'url' => env('MAIL_URL'),
|
||||
'host' => env('MAIL_HOST', '127.0.0.1'),
|
||||
'port' => env('MAIL_PORT', 2525),
|
||||
'host' => env('MAIL_HOST'),
|
||||
'port' => env('MAIL_PORT'),
|
||||
'encryption' => env('MAIL_ENCRYPTION'),
|
||||
'username' => env('MAIL_USERNAME'),
|
||||
'password' => env('MAIL_PASSWORD'),
|
||||
'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' => [
|
||||
|
||||
Reference in New Issue
Block a user