2014-05-14 23:24:20 +10:00
|
|
|
<?php
|
|
|
|
|
2015-02-07 19:42:40 +11:00
|
|
|
return [
|
2022-03-15 21:05:08 -06:00
|
|
|
|
2014-10-10 21:54:19 +02:00
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
2022-02-14 14:42:24 -06:00
|
|
|
| Default Mailer
|
2014-10-10 21:54:19 +02:00
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
2022-02-14 14:42:24 -06:00
|
|
|
| This option controls the default mailer that is used to send any email
|
|
|
|
| messages sent by your application. Alternative mailers may be setup
|
|
|
|
| and used as needed; however, this mailer will be used by default.
|
2014-10-10 21:54:19 +02:00
|
|
|
|
|
|
|
|
*/
|
2022-03-15 21:05:08 -06:00
|
|
|
|
2022-02-14 14:42:24 -06:00
|
|
|
'default' => env('MAIL_MAILER', 'smtp'),
|
2022-03-15 21:05:08 -06:00
|
|
|
|
2014-10-10 21:54:19 +02:00
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
2022-02-14 14:42:24 -06:00
|
|
|
| Mailer Configurations
|
2014-10-10 21:54:19 +02:00
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
2022-02-14 14:42:24 -06:00
|
|
|
| Here you may configure all of the mailers used by your application plus
|
|
|
|
| their respective settings. Several examples have been configured for
|
|
|
|
| you and you are free to add your own as your application requires.
|
2014-10-10 21:54:19 +02:00
|
|
|
|
|
2022-02-14 14:42:24 -06:00
|
|
|
| Winter supports a variety of mail "transport" drivers to be used while
|
|
|
|
| sending an e-mail. You will specify which one you are using for your
|
|
|
|
| mailers below. You are free to add additional mailers as required.
|
2014-10-10 21:54:19 +02:00
|
|
|
|
|
2022-02-14 14:42:24 -06:00
|
|
|
| Supported: "smtp", "sendmail", "mailgun", "ses",
|
|
|
|
| "postmark", "log", "array", "failover"
|
2014-10-10 21:54:19 +02:00
|
|
|
|
|
|
|
|
*/
|
2022-03-15 21:05:08 -06:00
|
|
|
|
2022-02-14 14:42:24 -06:00
|
|
|
'mailers' => [
|
|
|
|
'smtp' => [
|
|
|
|
'encryption' => env('MAIL_ENCRYPTION', 'tls'),
|
2022-03-16 10:55:07 -06:00
|
|
|
'host' => env('MAIL_HOST', 'smtp.mailgun.org'),
|
|
|
|
'password' => env('MAIL_PASSWORD'),
|
|
|
|
'port' => env('MAIL_PORT', 587),
|
|
|
|
'timeout' => null,
|
|
|
|
'transport' => 'smtp',
|
|
|
|
'username' => env('MAIL_USERNAME'),
|
2022-02-14 14:42:24 -06:00
|
|
|
],
|
|
|
|
'ses' => [
|
|
|
|
'transport' => 'ses',
|
|
|
|
],
|
|
|
|
'mailgun' => [
|
|
|
|
'transport' => 'mailgun',
|
|
|
|
],
|
|
|
|
'postmark' => [
|
|
|
|
'transport' => 'postmark',
|
|
|
|
],
|
2022-04-05 16:40:49 -04:00
|
|
|
'mail' => [
|
|
|
|
'transport' => 'mail',
|
|
|
|
],
|
2022-02-14 14:42:24 -06:00
|
|
|
'sendmail' => [
|
2022-03-16 10:55:07 -06:00
|
|
|
'path' => env('MAIL_SENDMAIL_PATH', '/usr/sbin/sendmail -t -i'),
|
2022-02-14 14:42:24 -06:00
|
|
|
'transport' => 'sendmail',
|
|
|
|
],
|
|
|
|
'log' => [
|
2022-03-16 10:55:07 -06:00
|
|
|
'channel' => env('MAIL_LOG_CHANNEL'),
|
2022-02-14 14:42:24 -06:00
|
|
|
'transport' => 'log',
|
|
|
|
],
|
|
|
|
'array' => [
|
|
|
|
'transport' => 'array',
|
|
|
|
],
|
|
|
|
'failover' => [
|
2022-03-16 10:55:07 -06:00
|
|
|
'mailers' => [
|
2022-02-14 14:42:24 -06:00
|
|
|
'smtp',
|
|
|
|
'log',
|
|
|
|
],
|
|
|
|
'transport' => 'failover',
|
|
|
|
],
|
|
|
|
],
|
2022-03-15 21:05:08 -06:00
|
|
|
|
2014-10-10 21:54:19 +02:00
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Global "From" Address
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| You may wish for all e-mails sent by your application to be sent from
|
|
|
|
| the same address. Here, you may specify a name and address that is
|
|
|
|
| used globally for all e-mails that are sent by your application.
|
|
|
|
|
|
|
|
|
*/
|
2022-03-15 21:05:08 -06:00
|
|
|
|
2021-03-24 06:55:28 +01:00
|
|
|
'from' => [
|
2022-02-14 14:42:24 -06:00
|
|
|
'address' => env('MAIL_FROM_ADDRESS', 'noreply@example.com'),
|
2022-03-16 10:55:07 -06:00
|
|
|
'name' => env('MAIL_FROM_NAME', env('APP_NAME', 'Winter CMS')),
|
2021-03-24 06:55:28 +01:00
|
|
|
],
|
2017-04-24 13:38:19 +02:00
|
|
|
];
|