24 lines
486 B
PHP
Executable File
24 lines
486 B
PHP
Executable File
<?php
|
|
/**
|
|
* 邮件配置
|
|
* @author lisong<377344020@qq.com>
|
|
* @date 2020/06/19
|
|
*/
|
|
return [
|
|
'smtp'=>[
|
|
//host
|
|
'host'=>'smtp.163.com',
|
|
//用户名
|
|
'username'=>'XXXXxxxxx0@163.com',
|
|
//密码/授权码
|
|
'password'=>'xxxxxx',
|
|
//tls或ssl
|
|
'smtp_secure'=>'ssl',
|
|
//端口
|
|
'port'=>465,
|
|
//发件地址
|
|
'address'=>'xxxxxx@163.com',
|
|
//发件人
|
|
'name'=>'发件人名字',
|
|
]
|
|
]; |