✨✉ — Allow to use sendmail
This commit is contained in:
parent
74460ad378
commit
72da6dce07
4
.env
4
.env
|
@ -52,7 +52,7 @@ MAINTENANCE_MODE=false
|
|||
DB_CONNECTION=sqlite
|
||||
|
||||
#Mail Settings=LinkStack comes with a free to use built-in SMTP server for sending mail. You can leave this setting as is, if you wish to use this service please read our terms and conditions at llc-mail.tru.io. If you do not wish to use the built-in SMTP server, change the setting below.
|
||||
#=MAIL_MAILER either smtp or built-in. Make sure to change this setting if you want to add a custom SMTP server.
|
||||
#=MAIL_MAILER either smtp, sendmail or built-in. Make sure to change this setting if you want to add a custom SMTP server or use sendmail.
|
||||
MAIL_MAILER=built-in
|
||||
MAIL_HOST=
|
||||
MAIL_PORT=
|
||||
|
@ -61,6 +61,8 @@ MAIL_PASSWORD=
|
|||
MAIL_ENCRYPTION=
|
||||
MAIL_FROM_ADDRESS=
|
||||
MAIL_FROM_NAME="${APP_NAME}"
|
||||
#= Set the path to sendmail binary and set options. Default is /usr/sbin/sendmail -bs
|
||||
MAIL_SENDMAIL=
|
||||
|
||||
#Cache Settings=Completely optional.
|
||||
MEMCACHED_HOST=127.0.0.1
|
||||
|
|
|
@ -34,6 +34,14 @@ return [
|
|||
*/
|
||||
|
||||
'mailers' => [
|
||||
'sendmail' => [
|
||||
'transport' => 'sendmail',
|
||||
'path' => env('MAIL_SENDMAIL', '/usr/sbin/sendmail -bs'),
|
||||
'from' => [
|
||||
'address' => env('MAIL_FROM_ADDRESS'),
|
||||
'name' => env('MAIL_FROM_NAME'),
|
||||
]
|
||||
],
|
||||
'smtp' => [
|
||||
'transport' => 'smtp',
|
||||
'host' => env('MAIL_HOST'),
|
||||
|
|
Loading…
Reference in New Issue