1<?php
2
3return [
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", "ses",
15 | "postmark", "log", "array"
16 |
17 */
18
19 'driver' => env('MAIL_DRIVER', 'log'),
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' => ['address' => 'osu@ppy.sh', 'name' => 'osu!'],
59
60 /*
61 |--------------------------------------------------------------------------
62 | E-Mail Encryption Protocol
63 |--------------------------------------------------------------------------
64 |
65 | Here you may specify the encryption protocol that should be used when
66 | the application send e-mail messages. A sensible default using the
67 | transport layer security protocol should provide great security.
68 |
69 */
70
71 'encryption' => env('MAIL_ENCRYPTION', 'tls'),
72
73 /*
74 |--------------------------------------------------------------------------
75 | SMTP Server Username
76 |--------------------------------------------------------------------------
77 |
78 | If your SMTP server requires a username for authentication, you should
79 | set it here. This will get used to authenticate with your server on
80 | connection. You may also set the "password" value below this one.
81 |
82 */
83
84 'username' => env('MAIL_USERNAME'),
85
86 'password' => env('MAIL_PASSWORD'),
87
88 /*
89 |--------------------------------------------------------------------------
90 | Sendmail System Path
91 |--------------------------------------------------------------------------
92 |
93 | When using the "sendmail" driver to send e-mails, we will need to know
94 | the path to where Sendmail lives on this server. A default path has
95 | been provided here, which will work well on most of your systems.
96 |
97 */
98
99 'sendmail' => '/usr/sbin/sendmail -bs',
100
101];