toby/config/mail.php
Adrian Hopek 8f5f2b88f0
#1 - project skeleton (#7)
* #1 - project skeleton

* #1 - composer fix

* #1 - add app key to phpunit config

* #1 - change default session driver

* #1 - add EXTERNAL_WEBSERVER_PORT variable to .env.example
2022-01-10 13:28:18 +01:00

44 lines
1.1 KiB
PHP

<?php
declare(strict_types=1);
return [
"default" => env("MAIL_MAILER", "smtp"),
"mailers" => [
"smtp" => [
"transport" => "smtp",
"host" => env("MAIL_HOST", "smtp.mailgun.org"),
"port" => env("MAIL_PORT", 587),
"encryption" => env("MAIL_ENCRYPTION", "tls"),
"username" => env("MAIL_USERNAME"),
"password" => env("MAIL_PASSWORD"),
"timeout" => null,
"auth_mode" => null,
],
"log" => [
"transport" => "log",
"channel" => env("MAIL_LOG_CHANNEL"),
],
"array" => [
"transport" => "array",
],
"failover" => [
"transport" => "failover",
"mailers" => [
"smtp",
"log",
],
],
],
"from" => [
"address" => env("MAIL_FROM_ADDRESS", "hello@example.com"),
"name" => env("MAIL_FROM_NAME", "Example"),
],
"markdown" => [
"theme" => "default",
"paths" => [
resource_path("views/vendor/mail"),
],
],
];