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

View File

@ -33,7 +33,7 @@ class ConfigService extends Service
'DB_EMULATE_PREPARES' => false,
'CACHE_DRIVER' => 'array',
'CACHE_PREFIX' => '',
'MAIL_DRIVER' => 'mail',
'MAIL_DRIVER' => 'log',
'MAIL_HOST' => '',
'MAIL_PORT' => 587,
'MAIL_ENCRYPTION' => '',

View File

@ -1,20 +1,6 @@
<?php
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'),
'mailers' => [
'smtp' => [
@ -28,7 +14,7 @@ return [
],
'ses' => [
'transport' => 'seapp/Contracts/Command.php:105s',
'transport' => 'ses',
],
'mailgun' => [
@ -46,7 +32,7 @@ return [
'log' => [
'transport' => 'log',
'channel' => env('MAIL_LOG_CHANNEL'),
'channel' => env('MAIL_LOG_CHANNEL', 'stack'),
],
'array' => [