commit | author | age
|
9f6455
|
1 |
<?php |
DC |
2 |
|
|
3 |
return [ |
|
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", "failover" |
|
33 |
| |
|
34 |
*/ |
|
35 |
|
|
36 |
'mailers' => [ |
|
37 |
'smtp' => [ |
|
38 |
'transport' => 'smtp', |
|
39 |
'host' => env('MAIL_HOST', ''), |
|
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 |
|
|
46 |
// Per bypass controllo certificato self signed |
|
47 |
'allow_self_signed' => true, |
|
48 |
'verify_peer' => false, |
|
49 |
'verify_peer_name' => false, |
|
50 |
], |
|
51 |
|
|
52 |
'ses' => [ |
|
53 |
'transport' => 'ses', |
|
54 |
], |
|
55 |
|
|
56 |
'mailgun' => [ |
|
57 |
'transport' => 'mailgun', |
|
58 |
], |
|
59 |
|
|
60 |
'postmark' => [ |
|
61 |
'transport' => 'postmark', |
|
62 |
], |
|
63 |
|
|
64 |
'sendmail' => [ |
|
65 |
'transport' => 'sendmail', |
|
66 |
'path' => env('MAIL_SENDMAIL_PATH', '/usr/sbin/sendmail -t -i'), |
|
67 |
], |
|
68 |
|
|
69 |
'log' => [ |
|
70 |
'transport' => 'log', |
|
71 |
'channel' => env('MAIL_LOG_CHANNEL'), |
|
72 |
], |
|
73 |
|
|
74 |
'array' => [ |
|
75 |
'transport' => 'array', |
|
76 |
], |
|
77 |
|
|
78 |
'failover' => [ |
|
79 |
'transport' => 'failover', |
|
80 |
'mailers' => [ |
|
81 |
'smtp', |
|
82 |
'log', |
|
83 |
], |
|
84 |
], |
|
85 |
], |
|
86 |
|
|
87 |
/* |
|
88 |
|-------------------------------------------------------------------------- |
|
89 |
| Global "From" Address |
|
90 |
|-------------------------------------------------------------------------- |
|
91 |
| |
|
92 |
| You may wish for all e-mails sent by your application to be sent from |
|
93 |
| the same address. Here, you may specify a name and address that is |
|
94 |
| used globally for all e-mails that are sent by your application. |
|
95 |
| |
|
96 |
*/ |
|
97 |
|
|
98 |
'from' => [ |
|
99 |
'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'), |
|
100 |
'name' => env('MAIL_FROM_NAME', 'Comunicazione Vodafone'), |
|
101 |
], |
|
102 |
|
|
103 |
/* |
|
104 |
|-------------------------------------------------------------------------- |
|
105 |
| Markdown Mail Settings |
|
106 |
|-------------------------------------------------------------------------- |
|
107 |
| |
|
108 |
| If you are using Markdown based email rendering, you may configure your |
|
109 |
| theme and component paths here, allowing you to customize the design |
|
110 |
| of the emails. Or, you may simply stick with the Laravel defaults! |
|
111 |
| |
|
112 |
*/ |
|
113 |
|
|
114 |
'markdown' => [ |
|
115 |
'theme' => 'default', |
|
116 |
|
|
117 |
'paths' => [ |
|
118 |
resource_path('views/vendor/mail'), |
|
119 |
], |
|
120 |
], |
|
121 |
|
|
122 |
]; |