Files
nl-admin-api/config/mail.php

127 lines
3.8 KiB
PHP
Raw Normal View History

2013-01-11 15:14:07 -06:00
<?php
2014-08-24 14:03:58 -05:00
return [
2013-01-11 15:14:07 -06:00
2015-02-22 20:47:03 -06:00
/*
|--------------------------------------------------------------------------
2020-01-08 17:01:42 -06:00
| Default Mailer
2015-02-22 20:47:03 -06:00
|--------------------------------------------------------------------------
|
2020-01-08 17:01:42 -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.
2015-02-22 20:47:03 -06:00
|
*/
2020-01-08 17:01:42 -06:00
'default' => env('MAIL_MAILER', 'smtp'),
2020-01-08 17:10:37 -06:00
/*
|--------------------------------------------------------------------------
| Mailer Configurations
|--------------------------------------------------------------------------
|
| 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.
|
| Laravel supports a variety of mail "transport" drivers to be used while
2020-01-08 17:14:01 -06:00
| 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.
2020-01-08 17:10:37 -06:00
|
2023-02-17 07:47:16 +00:00
| Supported: "smtp", "sendmail", "mailgun", "ses", "ses-v2",
| "postmark", "log", "array", "failover"
2020-01-08 17:10:37 -06:00
|
*/
2020-01-08 17:01:42 -06:00
2020-01-08 17:10:37 -06:00
'mailers' => [
2020-01-08 17:01:42 -06:00
'smtp' => [
2020-01-08 17:10:37 -06:00
'transport' => 'smtp',
2023-05-06 01:42:51 +08:00
'url' => env('MAIL_URL'),
2020-01-08 17:01:42 -06:00
'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,
'local_domain' => env('MAIL_EHLO_DOMAIN'),
2020-01-08 17:10:37 -06:00
],
2020-01-08 17:16:33 -06:00
'ses' => [
'transport' => 'ses',
],
'mailgun' => [
'transport' => 'mailgun',
2023-01-31 09:00:17 -06:00
// 'client' => [
// 'timeout' => 5,
// ],
],
'postmark' => [
'transport' => 'postmark',
// 'message_stream_id' => null,
2023-01-31 09:00:17 -06:00
// 'client' => [
// 'timeout' => 5,
// ],
],
2020-01-08 17:10:37 -06:00
'sendmail' => [
'transport' => 'sendmail',
2022-03-08 15:38:39 +01:00
'path' => env('MAIL_SENDMAIL_PATH', '/usr/sbin/sendmail -bs -i'),
2020-01-08 17:10:37 -06:00
],
2020-01-08 17:01:42 -06:00
2020-01-08 17:10:37 -06:00
'log' => [
'transport' => 'log',
'channel' => env('MAIL_LOG_CHANNEL'),
2020-01-08 17:01:42 -06:00
],
2020-03-02 17:52:06 +01:00
'array' => [
'transport' => 'array',
],
'failover' => [
'transport' => 'failover',
'mailers' => [
'smtp',
'log',
],
],
2016-08-03 13:16:30 -05:00
],
2015-02-22 20:47:03 -06:00
2017-02-03 18:06:39 +02:00
/*
|--------------------------------------------------------------------------
2020-01-08 17:10:37 -06:00
| Global "From" Address
2017-02-03 18:06:39 +02:00
|--------------------------------------------------------------------------
|
2020-01-08 17:10:37 -06:00
| 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.
2017-02-03 18:06:39 +02:00
|
*/
2017-02-03 16:06:59 +00:00
2020-01-08 17:10:37 -06:00
'from' => [
'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'),
'name' => env('MAIL_FROM_NAME', 'Example'),
],
2015-02-22 20:47:03 -06:00
/*
|--------------------------------------------------------------------------
2016-12-12 11:04:03 -06:00
| Markdown Mail Settings
2015-02-22 20:47:03 -06:00
|--------------------------------------------------------------------------
|
2016-12-12 11:04:03 -06:00
| If you are using Markdown based email rendering, you may configure your
| theme and component paths here, allowing you to customize the design
| of the emails. Or, you may simply stick with the Laravel defaults!
2015-02-22 20:47:03 -06:00
|
*/
2016-12-12 11:04:03 -06:00
'markdown' => [
'theme' => 'default',
'paths' => [
resource_path('views/vendor/mail'),
],
],
2015-02-22 20:47:03 -06:00
2014-08-24 14:03:58 -05:00
];