|
11 | 11 | | sending of e-mail. You may specify which one you're using throughout |
12 | 12 | | your application here. By default, Laravel is setup for SMTP mail. |
13 | 13 | | |
14 | | - | Supported: "smtp", "mail", "sendmail", "mailgun", "mandrill", |
15 | | - | "ses", "sparkpost", "log" |
| 14 | + | Supported: "smtp", "sendmail", "mailgun", "mandrill", "ses", |
| 15 | + | "sparkpost", "log", "array" |
16 | 16 | | |
17 | 17 | */ |
18 | 18 |
|
|
56 | 56 | */ |
57 | 57 |
|
58 | 58 | 'from' => [ |
59 | | - 'address' => 'hello@example.com', |
60 | | - 'name' => 'Example', |
| 59 | + 'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'), |
| 60 | + 'name' => env('MAIL_FROM_NAME', 'Example'), |
61 | 61 | ], |
62 | 62 |
|
63 | 63 | /* |
|
86 | 86 |
|
87 | 87 | 'username' => env('MAIL_USERNAME'), |
88 | 88 |
|
| 89 | + 'password' => env('MAIL_PASSWORD'), |
| 90 | + |
89 | 91 | /* |
90 | 92 | |-------------------------------------------------------------------------- |
91 | | - | SMTP Server Password |
| 93 | + | Sendmail System Path |
92 | 94 | |-------------------------------------------------------------------------- |
93 | 95 | | |
94 | | - | Here you may set the password required by your SMTP server to send out |
95 | | - | messages from your application. This will be given to the server on |
96 | | - | connection so that the application will be able to send messages. |
| 96 | + | When using the "sendmail" driver to send e-mails, we will need to know |
| 97 | + | the path to where Sendmail lives on this server. A default path has |
| 98 | + | been provided here, which will work well on most of your systems. |
97 | 99 | | |
98 | 100 | */ |
99 | 101 |
|
100 | | - 'password' => env('MAIL_PASSWORD'), |
| 102 | + 'sendmail' => '/usr/sbin/sendmail -bs', |
101 | 103 |
|
102 | 104 | /* |
103 | 105 | |-------------------------------------------------------------------------- |
104 | | - | Sendmail System Path |
| 106 | + | Markdown Mail Settings |
105 | 107 | |-------------------------------------------------------------------------- |
106 | 108 | | |
107 | | - | When using the "sendmail" driver to send e-mails, we will need to know |
108 | | - | the path to where Sendmail lives on this server. A default path has |
109 | | - | been provided here, which will work well on most of your systems. |
| 109 | + | If you are using Markdown based email rendering, you may configure your |
| 110 | + | theme and component paths here, allowing you to customize the design |
| 111 | + | of the emails. Or, you may simply stick with the Laravel defaults! |
110 | 112 | | |
111 | 113 | */ |
112 | 114 |
|
113 | | - 'sendmail' => '/usr/sbin/sendmail -bs', |
| 115 | + 'markdown' => [ |
| 116 | + 'theme' => 'default', |
| 117 | + |
| 118 | + 'paths' => [ |
| 119 | + resource_path('views/vendor/mail'), |
| 120 | + ], |
| 121 | + ], |
114 | 122 |
|
115 | 123 | ]; |
0 commit comments