Files

119 lines
3.6 KiB
PHP
Raw Permalink Normal View History

2015-12-06 13:58:49 -05:00
<?php
2026-10-05 18:10:18 -04:00
declare(strict_types=1);
2015-12-06 13:58:49 -05:00
return [
/*
|--------------------------------------------------------------------------
2022-10-14 10:59:20 -06:00
| Default Mailer
2015-12-06 13:58:49 -05:00
|--------------------------------------------------------------------------
|
2022-10-14 10:59:20 -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-12-06 13:58:49 -05:00
|
*/
2022-10-14 10:59:20 -06:00
'default' => env('MAIL_MAILER', env('MAIL_DRIVER', 'smtp')),
2015-12-06 13:58:49 -05:00
/*
|--------------------------------------------------------------------------
2022-10-14 10:59:20 -06:00
| Mailer Configurations
2015-12-06 13:58:49 -05:00
|--------------------------------------------------------------------------
|
2022-10-14 10:59:20 -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.
2015-12-06 13:58:49 -05:00
|
2022-10-14 10:59:20 -06:00
| Laravel 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.
2015-12-06 13:58:49 -05:00
|
2023-02-23 12:30:16 -07:00
| Supported: "smtp", "sendmail", "mailgun", "ses", "ses-v2",
2022-10-14 10:59:20 -06:00
| "postmark", "log", "array", "failover"
2015-12-06 13:58:49 -05:00
|
*/
2022-10-14 10:59:20 -06:00
'mailers' => [
'smtp' => [
'transport' => 'smtp',
2024-10-21 19:18:20 -06:00
'host' => env('MAIL_HOST', '127.0.0.1'),
2026-10-11 19:15:22 -04:00
'port' => (int) env('MAIL_PORT', 2525),
2022-10-14 10:59:20 -06:00
'encryption' => env('MAIL_ENCRYPTION', 'tls'),
'username' => env('MAIL_USERNAME'),
'password' => env('MAIL_PASSWORD'),
'timeout' => null,
2022-12-12 14:26:07 -07:00
'local_domain' => env('MAIL_EHLO_DOMAIN', env('SERVER_NAME')),
2022-10-14 10:59:20 -06:00
],
2015-12-06 13:58:49 -05:00
2022-10-14 10:59:20 -06:00
'ses' => [
'transport' => 'ses',
],
2015-12-06 13:58:49 -05:00
2022-10-14 10:59:20 -06:00
'mailgun' => [
'transport' => 'mailgun',
],
2015-12-06 13:58:49 -05:00
2022-10-14 10:59:20 -06:00
'postmark' => [
'transport' => 'postmark',
],
2015-12-06 13:58:49 -05:00
2022-10-14 10:59:20 -06:00
'sendmail' => [
'transport' => 'sendmail',
'path' => env('MAIL_SENDMAIL_PATH', '/usr/sbin/sendmail -bs -i'),
],
2015-12-06 13:58:49 -05:00
2022-10-14 10:59:20 -06:00
'log' => [
'transport' => 'log',
'channel' => env('MAIL_LOG_CHANNEL'),
],
2015-12-06 13:58:49 -05:00
2022-10-14 10:59:20 -06:00
'array' => [
'transport' => 'array',
],
2015-12-06 13:58:49 -05:00
2022-10-14 10:59:20 -06:00
'failover' => [
'transport' => 'failover',
'mailers' => [
'smtp',
'log',
],
],
],
2015-12-06 13:58:49 -05:00
/*
|--------------------------------------------------------------------------
2022-10-14 10:59:20 -06:00
| Global "From" Address
2015-12-06 13:58:49 -05:00
|--------------------------------------------------------------------------
|
2024-10-21 19:18:20 -06:00
| You may wish for all emails 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 emails that are sent by your application.
2015-12-06 13:58:49 -05:00
|
*/
2022-10-14 10:59:20 -06:00
'from' => [
2022-10-31 11:02:34 -06:00
'address' => env('MAIL_FROM_ADDRESS', env('MAIL_FROM', 'hello@example.com')),
2022-10-31 10:58:32 -06:00
'name' => env('MAIL_FROM_NAME', 'Pterodactyl Panel'),
2022-10-14 10:59:20 -06:00
],
2015-12-06 13:58:49 -05:00
2017-04-01 17:59:43 -04: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!
|
*/
2022-10-14 10:59:20 -06:00
2017-04-01 17:59:43 -04:00
'markdown' => [
'theme' => 'default',
'paths' => [
resource_path('views/vendor/mail'),
],
],
2015-12-06 13:58:49 -05:00
];