mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 16:57:09 +00:00
Fix #9398
This commit is contained in:
@@ -164,6 +164,13 @@ MAIL_PASSWORD=null
|
|||||||
MAIL_ENCRYPTION=null
|
MAIL_ENCRYPTION=null
|
||||||
MAIL_SENDMAIL_COMMAND=
|
MAIL_SENDMAIL_COMMAND=
|
||||||
|
|
||||||
|
#
|
||||||
|
# If you use self-signed certificates for your STMP server, you can use the following settings.
|
||||||
|
#
|
||||||
|
MAIL_ALLOW_SELF_SIGNED=false
|
||||||
|
MAIL_VERIFY_PEER=true
|
||||||
|
MAIL_VERIFY_PEER_NAME=true
|
||||||
|
|
||||||
# Other mail drivers:
|
# Other mail drivers:
|
||||||
# If you use Docker or similar, you can set these variables from a file by appending them with _FILE
|
# If you use Docker or similar, you can set these variables from a file by appending them with _FILE
|
||||||
MAILGUN_DOMAIN=
|
MAILGUN_DOMAIN=
|
||||||
|
@@ -33,18 +33,23 @@ return [
|
|||||||
| and used as needed; however, this mailer will be used by default.
|
| and used as needed; however, this mailer will be used by default.
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
'default' => envNonEmpty('MAIL_MAILER', 'log'),
|
'default' => envNonEmpty('MAIL_MAILER', 'log'),
|
||||||
|
|
||||||
'mailers' => [
|
'mailers' => [
|
||||||
'smtp' => [
|
'smtp' => [
|
||||||
'transport' => 'smtp',
|
'transport' => 'smtp',
|
||||||
'host' => envNonEmpty('MAIL_HOST', 'smtp.mailtrap.io'),
|
'host' => envNonEmpty('MAIL_HOST', 'smtp.mailtrap.io'),
|
||||||
'port' => (int) env('MAIL_PORT', 2525),
|
'port' => (int) env('MAIL_PORT', 2525),
|
||||||
'encryption' => envNonEmpty('MAIL_ENCRYPTION', 'tls'),
|
'encryption' => envNonEmpty('MAIL_ENCRYPTION', 'tls'),
|
||||||
'username' => envNonEmpty('MAIL_USERNAME', 'user@example.com'),
|
'username' => envNonEmpty('MAIL_USERNAME', 'user@example.com'),
|
||||||
'password' => envNonEmpty('MAIL_PASSWORD', 'password'),
|
'password' => envNonEmpty('MAIL_PASSWORD', 'password'),
|
||||||
'timeout' => null,
|
'timeout' => null,
|
||||||
'verify_peer' => null !== env('MAIL_ENCRYPTION'),
|
'scheme' => env('MAIL_SCHEME'),
|
||||||
|
'url' => env('MAIL_URL'),
|
||||||
|
'local_domain' => env('MAIL_EHLO_DOMAIN', parse_url(env('APP_URL', 'http://localhost'), PHP_URL_HOST)),
|
||||||
|
'verify_peer' => env('MAIL_VERIFY_PEER', true),
|
||||||
|
'allow_self_signed' => env('MAIL_ALLOW_SELF_SIGNED', false),
|
||||||
|
'verify_peer_name' => env('MAIL_VERIFY_PEER_NAME', true),
|
||||||
],
|
],
|
||||||
'mailersend' => [
|
'mailersend' => [
|
||||||
'transport' => 'mailersend',
|
'transport' => 'mailersend',
|
||||||
@@ -53,34 +58,34 @@ return [
|
|||||||
'transport' => 'ses',
|
'transport' => 'ses',
|
||||||
],
|
],
|
||||||
|
|
||||||
'mailgun' => [
|
'mailgun' => [
|
||||||
'transport' => 'mailgun',
|
'transport' => 'mailgun',
|
||||||
],
|
],
|
||||||
|
|
||||||
'mandrill' => [
|
'mandrill' => [
|
||||||
'transport' => 'mandrill',
|
'transport' => 'mandrill',
|
||||||
],
|
],
|
||||||
|
|
||||||
'postmark' => [
|
'postmark' => [
|
||||||
'transport' => 'postmark',
|
'transport' => 'postmark',
|
||||||
],
|
],
|
||||||
|
|
||||||
'sendmail' => [
|
'sendmail' => [
|
||||||
'transport' => 'sendmail',
|
'transport' => 'sendmail',
|
||||||
'path' => envNonEmpty('MAIL_SENDMAIL_COMMAND', '/usr/sbin/sendmail -bs'),
|
'path' => envNonEmpty('MAIL_SENDMAIL_COMMAND', '/usr/sbin/sendmail -bs'),
|
||||||
],
|
],
|
||||||
'log' => [
|
'log' => [
|
||||||
'transport' => 'log',
|
'transport' => 'log',
|
||||||
'channel' => env('MAIL_LOG_CHANNEL', 'stack'),
|
'channel' => env('MAIL_LOG_CHANNEL', 'stack'),
|
||||||
'level' => 'info',
|
'level' => 'info',
|
||||||
],
|
],
|
||||||
'null' => [
|
'null' => [
|
||||||
'transport' => 'log',
|
'transport' => 'log',
|
||||||
'channel' => env('MAIL_LOG_CHANNEL', 'stack'),
|
'channel' => env('MAIL_LOG_CHANNEL', 'stack'),
|
||||||
'level' => 'notice',
|
'level' => 'notice',
|
||||||
],
|
],
|
||||||
|
|
||||||
'array' => [
|
'array' => [
|
||||||
'transport' => 'array',
|
'transport' => 'array',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
Reference in New Issue
Block a user