2017-06-09 02:28:26 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
return [
|
2021-07-13 01:50:36 +08:00
|
|
|
'default' => env('MAIL_MAILER', 'smtp'),
|
2020-05-16 06:20:16 +08:00
|
|
|
'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,
|
|
|
|
],
|
|
|
|
|
|
|
|
'ses' => [
|
2021-07-13 05:18:28 +08:00
|
|
|
'transport' => 'ses',
|
2020-05-16 06:20:16 +08:00
|
|
|
],
|
|
|
|
|
|
|
|
'mailgun' => [
|
|
|
|
'transport' => 'mailgun',
|
|
|
|
],
|
|
|
|
|
|
|
|
'postmark' => [
|
|
|
|
'transport' => 'postmark',
|
|
|
|
],
|
|
|
|
|
|
|
|
'sendmail' => [
|
|
|
|
'transport' => 'sendmail',
|
|
|
|
'path' => '/usr/sbin/sendmail -bs',
|
|
|
|
],
|
|
|
|
|
|
|
|
'log' => [
|
|
|
|
'transport' => 'log',
|
2021-07-13 05:18:28 +08:00
|
|
|
'channel' => env('MAIL_LOG_CHANNEL', 'stack'),
|
2020-05-16 06:20:16 +08:00
|
|
|
],
|
|
|
|
|
|
|
|
'array' => [
|
|
|
|
'transport' => 'array',
|
|
|
|
],
|
|
|
|
],
|
2017-06-09 02:28:26 +08: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.
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
'from' => [
|
2018-08-27 00:40:04 +08:00
|
|
|
'name' => env('MAIL_FROM_NAME', 'phpVMS Admin'),
|
2017-12-23 02:46:46 +08:00
|
|
|
'address' => env('MAIL_FROM_ADDRESS', 'no-reply@phpvms.net'),
|
2017-06-09 02:28:26 +08:00
|
|
|
],
|
|
|
|
|
2021-02-11 02:18:02 +08:00
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Markdown Mail Settings
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| 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!
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
'markdown' => [
|
|
|
|
'theme' => 'default',
|
|
|
|
'paths' => [
|
|
|
|
resource_path('views/vendor/mail'),
|
|
|
|
],
|
|
|
|
],
|
2017-06-09 02:28:26 +08:00
|
|
|
];
|