feature: smtp gui config

This commit is contained in:
Tokumeikoi 2020-08-18 23:27:31 +08:00
parent c77199ce68
commit f3e9d43c44

View File

@ -29,7 +29,7 @@ return [
| |
*/ */
'host' => env('MAIL_HOST', 'smtp.mailgun.org'), 'host' => env('MAIL_HOST', config('v2board.mail_host')),
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
@ -42,7 +42,7 @@ return [
| |
*/ */
'port' => env('MAIL_PORT', 587), 'port' => env('MAIL_PORT', config('v2board.mail_port', 587)),
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
@ -56,8 +56,8 @@ return [
*/ */
'from' => [ 'from' => [
'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'), 'address' => env('MAIL_FROM_ADDRESS', config('v2board.mail_from_address')),
'name' => env('MAIL_FROM_NAME', 'Example'), 'name' => env('MAIL_FROM_NAME', config('v2board.mail_from_name')),
], ],
/* /*
@ -71,7 +71,7 @@ return [
| |
*/ */
'encryption' => env('MAIL_ENCRYPTION', 'tls'), 'encryption' => env('MAIL_ENCRYPTION', config('v2board.mail_encryption')),
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
@ -84,9 +84,9 @@ return [
| |
*/ */
'username' => env('MAIL_USERNAME'), 'username' => env('MAIL_USERNAME', config('v2board.mail_username')),
'password' => env('MAIL_PASSWORD'), 'password' => env('MAIL_PASSWORD', config('v2board.mail_password')),
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------