| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,123 @@ |
| 1 |
+<?php |
|
| 2 |
+ |
|
| 3 |
+return [ |
|
| 4 |
+ |
|
| 5 |
+ /* |
|
| 6 |
+ |-------------------------------------------------------------------------- |
|
| 7 |
+ | Mail Driver |
|
| 8 |
+ |-------------------------------------------------------------------------- |
|
| 9 |
+ | |
|
| 10 |
+ | Laravel supports both SMTP and PHP's "mail" function as drivers for the |
|
| 11 |
+ | sending of e-mail. You may specify which one you're using throughout |
|
| 12 |
+ | your application here. By default, Laravel is setup for SMTP mail. |
|
| 13 |
+ | |
|
| 14 |
+ | Supported: "smtp", "sendmail", "mailgun", "mandrill", "ses", |
|
| 15 |
+ | "sparkpost", "log", "array" |
|
| 16 |
+ | |
|
| 17 |
+ */ |
|
| 18 |
+ |
|
| 19 |
+ 'driver' => env('MAIL_DRIVER', 'smtp'),
|
|
| 20 |
+ |
|
| 21 |
+ /* |
|
| 22 |
+ |-------------------------------------------------------------------------- |
|
| 23 |
+ | SMTP Host Address |
|
| 24 |
+ |-------------------------------------------------------------------------- |
|
| 25 |
+ | |
|
| 26 |
+ | Here you may provide the host address of the SMTP server used by your |
|
| 27 |
+ | applications. A default option is provided that is compatible with |
|
| 28 |
+ | the Mailgun mail service which will provide reliable deliveries. |
|
| 29 |
+ | |
|
| 30 |
+ */ |
|
| 31 |
+ |
|
| 32 |
+ 'host' => env('MAIL_HOST', 'smtp.mailgun.org'),
|
|
| 33 |
+ |
|
| 34 |
+ /* |
|
| 35 |
+ |-------------------------------------------------------------------------- |
|
| 36 |
+ | SMTP Host Port |
|
| 37 |
+ |-------------------------------------------------------------------------- |
|
| 38 |
+ | |
|
| 39 |
+ | This is the SMTP port used by your application to deliver e-mails to |
|
| 40 |
+ | users of the application. Like the host we have set this value to |
|
| 41 |
+ | stay compatible with the Mailgun e-mail application by default. |
|
| 42 |
+ | |
|
| 43 |
+ */ |
|
| 44 |
+ |
|
| 45 |
+ 'port' => env('MAIL_PORT', 587),
|
|
| 46 |
+ |
|
| 47 |
+ /* |
|
| 48 |
+ |-------------------------------------------------------------------------- |
|
| 49 |
+ | Global "From" Address |
|
| 50 |
+ |-------------------------------------------------------------------------- |
|
| 51 |
+ | |
|
| 52 |
+ | You may wish for all e-mails sent by your application to be sent from |
|
| 53 |
+ | the same address. Here, you may specify a name and address that is |
|
| 54 |
+ | used globally for all e-mails that are sent by your application. |
|
| 55 |
+ | |
|
| 56 |
+ */ |
|
| 57 |
+ |
|
| 58 |
+ 'from' => [ |
|
| 59 |
+ 'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'),
|
|
| 60 |
+ 'name' => env('MAIL_FROM_NAME', 'Example'),
|
|
| 61 |
+ ], |
|
| 62 |
+ |
|
| 63 |
+ /* |
|
| 64 |
+ |-------------------------------------------------------------------------- |
|
| 65 |
+ | E-Mail Encryption Protocol |
|
| 66 |
+ |-------------------------------------------------------------------------- |
|
| 67 |
+ | |
|
| 68 |
+ | Here you may specify the encryption protocol that should be used when |
|
| 69 |
+ | the application send e-mail messages. A sensible default using the |
|
| 70 |
+ | transport layer security protocol should provide great security. |
|
| 71 |
+ | |
|
| 72 |
+ */ |
|
| 73 |
+ |
|
| 74 |
+ 'encryption' => env('MAIL_ENCRYPTION', 'tls'),
|
|
| 75 |
+ |
|
| 76 |
+ /* |
|
| 77 |
+ |-------------------------------------------------------------------------- |
|
| 78 |
+ | SMTP Server Username |
|
| 79 |
+ |-------------------------------------------------------------------------- |
|
| 80 |
+ | |
|
| 81 |
+ | If your SMTP server requires a username for authentication, you should |
|
| 82 |
+ | set it here. This will get used to authenticate with your server on |
|
| 83 |
+ | connection. You may also set the "password" value below this one. |
|
| 84 |
+ | |
|
| 85 |
+ */ |
|
| 86 |
+ |
|
| 87 |
+ 'username' => env('MAIL_USERNAME'),
|
|
| 88 |
+ |
|
| 89 |
+ 'password' => env('MAIL_PASSWORD'),
|
|
| 90 |
+ |
|
| 91 |
+ /* |
|
| 92 |
+ |-------------------------------------------------------------------------- |
|
| 93 |
+ | Sendmail System Path |
|
| 94 |
+ |-------------------------------------------------------------------------- |
|
| 95 |
+ | |
|
| 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. |
|
| 99 |
+ | |
|
| 100 |
+ */ |
|
| 101 |
+ |
|
| 102 |
+ 'sendmail' => '/usr/sbin/sendmail -bs', |
|
| 103 |
+ |
|
| 104 |
+ /* |
|
| 105 |
+ |-------------------------------------------------------------------------- |
|
| 106 |
+ | Markdown Mail Settings |
|
| 107 |
+ |-------------------------------------------------------------------------- |
|
| 108 |
+ | |
|
| 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! |
|
| 112 |
+ | |
|
| 113 |
+ */ |
|
| 114 |
+ |
|
| 115 |
+ 'markdown' => [ |
|
| 116 |
+ 'theme' => 'default', |
|
| 117 |
+ |
|
| 118 |
+ 'paths' => [ |
|
| 119 |
+ resource_path('views/vendor/mail'),
|
|
| 120 |
+ ], |
|
| 121 |
+ ], |
|
| 122 |
+ |
|
| 123 |
+]; |