66 lines
2.0 KiB
PHP
66 lines
2.0 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
/**
|
|
*
|
|
* This file is part of the My App.
|
|
*
|
|
* Copyright CodingHePing 2016-2020.
|
|
*
|
|
* This is my open source code, please do not use it for commercial applications.
|
|
*
|
|
* For the full copyright and license information,
|
|
* please view the LICENSE file that was distributed with this source code
|
|
*
|
|
* @author CodingHePing<847050412@qq.com>
|
|
* @link https://github.com/codingheping/hyperf-chat-upgrade
|
|
*/
|
|
return [
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| SMTP Host Address
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Here you may provide the host address of the SMTP server used by your
|
|
| applications. A default option is provided that is compatible with
|
|
| the Mailgun mail service which will provide reliable deliveries.
|
|
|
|
|
*/
|
|
|
|
'host' => env('MAIL_HOST', 'smtp.mailgun.org'),
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| SMTP Host Port
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| This is the SMTP port used by your application to deliver e-mails to
|
|
| users of the application. Like the host we have set this value to
|
|
| stay compatible with the Mailgun e-mail application by default.
|
|
|
|
|
*/
|
|
|
|
'port' => env('MAIL_PORT', 465),
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| SMTP Server Username
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| If your SMTP server requires a username for authentication, you should
|
|
| set it here. This will get used to authenticate with your server on
|
|
| connection. You may also set the "password" value below this one.
|
|
|
|
|
*/
|
|
|
|
'username' => env('MAIL_USERNAME'),
|
|
|
|
'password' => env('MAIL_PASSWORD'),
|
|
|
|
|
|
|
|
'from' => env('MAIL_FROM_ADDRESS'),
|
|
|
|
'name' => env('MAIL_FROM_NAME'),
|
|
];
|