Have emails go into the logs by default, make note to users to change that #1259

This commit is contained in:
Nabeel Shahzad
2021-07-12 17:18:28 -04:00
parent f68e068f87
commit 2af72d137d
2 changed files with 3 additions and 17 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ class ConfigService extends Service
'DB_EMULATE_PREPARES' => false, 'DB_EMULATE_PREPARES' => false,
'CACHE_DRIVER' => 'array', 'CACHE_DRIVER' => 'array',
'CACHE_PREFIX' => '', 'CACHE_PREFIX' => '',
'MAIL_DRIVER' => 'mail', 'MAIL_DRIVER' => 'log',
'MAIL_HOST' => '', 'MAIL_HOST' => '',
'MAIL_PORT' => 587, 'MAIL_PORT' => 587,
'MAIL_ENCRYPTION' => '', 'MAIL_ENCRYPTION' => '',
+2 -16
View File
@@ -1,20 +1,6 @@
<?php <?php
return [ return [
/*
|--------------------------------------------------------------------------
| Mail Driver
|--------------------------------------------------------------------------
|
| Laravel supports both SMTP and PHP's "mail" function as drivers for the
| sending of e-mail. You may specify which one you're using throughout
| your application here. By default, Laravel is setup for SMTP mail.
|
| Supported: "smtp", "mail", "sendmail", "mailgun", "mandrill",
| "ses", "sparkpost", "log"
|
*/
'default' => env('MAIL_MAILER', 'smtp'), 'default' => env('MAIL_MAILER', 'smtp'),
'mailers' => [ 'mailers' => [
'smtp' => [ 'smtp' => [
@@ -28,7 +14,7 @@ return [
], ],
'ses' => [ 'ses' => [
'transport' => 'seapp/Contracts/Command.php:105s', 'transport' => 'ses',
], ],
'mailgun' => [ 'mailgun' => [
@@ -46,7 +32,7 @@ return [
'log' => [ 'log' => [
'transport' => 'log', 'transport' => 'log',
'channel' => env('MAIL_LOG_CHANNEL'), 'channel' => env('MAIL_LOG_CHANNEL', 'stack'),
], ],
'array' => [ 'array' => [