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' => [
|
'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' => [
|
||||||
|
|||||||
Reference in New Issue
Block a user