Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
pterodactyl
GitHub Repository: pterodactyl/panel
Path: blob/1.0-develop/config/mail.php
7382 views
1
<?php
2
3
return [
4
/*
5
|--------------------------------------------------------------------------
6
| Default Mailer
7
|--------------------------------------------------------------------------
8
|
9
| This option controls the default mailer that is used to send any email
10
| messages sent by your application. Alternative mailers may be setup
11
| and used as needed; however, this mailer will be used by default.
12
|
13
*/
14
15
'default' => env('MAIL_MAILER', env('MAIL_DRIVER', 'smtp')),
16
17
/*
18
|--------------------------------------------------------------------------
19
| Mailer Configurations
20
|--------------------------------------------------------------------------
21
|
22
| Here you may configure all of the mailers used by your application plus
23
| their respective settings. Several examples have been configured for
24
| you and you are free to add your own as your application requires.
25
|
26
| Laravel supports a variety of mail "transport" drivers to be used while
27
| sending an e-mail. You will specify which one you are using for your
28
| mailers below. You are free to add additional mailers as required.
29
|
30
| Supported: "smtp", "sendmail", "mailgun", "ses", "ses-v2",
31
| "postmark", "log", "array", "failover"
32
|
33
*/
34
35
'mailers' => [
36
'smtp' => [
37
'transport' => 'smtp',
38
'host' => env('MAIL_HOST', '127.0.0.1'),
39
'port' => env('MAIL_PORT', 2525),
40
'encryption' => env('MAIL_ENCRYPTION', 'tls'),
41
'username' => env('MAIL_USERNAME'),
42
'password' => env('MAIL_PASSWORD'),
43
'timeout' => null,
44
'local_domain' => env('MAIL_EHLO_DOMAIN', env('SERVER_NAME')),
45
],
46
47
'ses' => [
48
'transport' => 'ses',
49
],
50
51
'mailgun' => [
52
'transport' => 'mailgun',
53
],
54
55
'postmark' => [
56
'transport' => 'postmark',
57
],
58
59
'sendmail' => [
60
'transport' => 'sendmail',
61
'path' => env('MAIL_SENDMAIL_PATH', '/usr/sbin/sendmail -bs -i'),
62
],
63
64
'log' => [
65
'transport' => 'log',
66
'channel' => env('MAIL_LOG_CHANNEL'),
67
],
68
69
'array' => [
70
'transport' => 'array',
71
],
72
73
'failover' => [
74
'transport' => 'failover',
75
'mailers' => [
76
'smtp',
77
'log',
78
],
79
],
80
],
81
82
/*
83
|--------------------------------------------------------------------------
84
| Global "From" Address
85
|--------------------------------------------------------------------------
86
|
87
| You may wish for all emails sent by your application to be sent from
88
| the same address. Here you may specify a name and address that is
89
| used globally for all emails that are sent by your application.
90
|
91
*/
92
93
'from' => [
94
'address' => env('MAIL_FROM_ADDRESS', env('MAIL_FROM', '[email protected]')),
95
'name' => env('MAIL_FROM_NAME', 'Pterodactyl Panel'),
96
],
97
98
/*
99
|--------------------------------------------------------------------------
100
| Markdown Mail Settings
101
|--------------------------------------------------------------------------
102
|
103
| If you are using Markdown based email rendering, you may configure your
104
| theme and component paths here, allowing you to customize the design
105
| of the emails. Or, you may simply stick with the Laravel defaults!
106
|
107
*/
108
109
'markdown' => [
110
'theme' => 'default',
111
112
'paths' => [
113
resource_path('views/vendor/mail'),
114
],
115
],
116
];
117
118