Mail settings for the welcome mail

Daniel Tanaka 1 year ago
parent 65b120323a commit b17797b7af018c65da5c8b384162e1ba81c701de
1 changed files with 19 additions and 0 deletions
+19-0config/mail.php ADDED
@@ -0,0 +1,19 @@
1+<?php
2+
3+return [
4+ 'default' => env('MAIL_MAILER', 'smtp'),
5+ 'mailers' => [
6+ 'smtp' => [
7+ 'transport' => 'smtp',
8+ 'host' => env('MAIL_HOST'),
9+ 'port' => env('MAIL_PORT', 587),
10+ 'encryption' => env('MAIL_ENCRYPTION', 'tls'),
11+ 'username' => env('MAIL_USERNAME'),
12+ 'password' => env('MAIL_PASSWORD'),
13+ ],
14+ ],
15+ 'from' => [
16+ 'address' => env('MAIL_FROM_ADDRESS', 'hello.8gvu6c@glibcode.net'),
17+ 'name' => env('MAIL_FROM_NAME', 'glibCode'),
18+ ],
19+];