source: config/mail.php@ e6c1f87

develop
Last change on this file since e6c1f87 was 2fc88ec, checked in by beratkjufliju <kufliju@…>, 3 years ago

initial commit

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