mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
feature: smtp gui config
This commit is contained in:
parent
c77199ce68
commit
f3e9d43c44
@ -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' => [
|
||||
'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'),
|
||||
'name' => env('MAIL_FROM_NAME', 'Example'),
|
||||
'address' => env('MAIL_FROM_ADDRESS', config('v2board.mail_from_address')),
|
||||
'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')),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user