yii2使用邮箱组件发送邮件信息 Sorry, we are unable to reset password for email provided
来源:互联网 发布:武汉软件工程学院地址 编辑:程序博客网 时间:2024/06/05 10:21
yii2使用邮箱组件发送邮件信息 Sorry, we are unable to reset password for email provided
参考yii2 邮件发送
在开放qq邮箱的smtp后使用qq邮箱地址和qq密码配置服务器后会出现错误
Failed to authenticate on SMTP server with username "1173957281" using 1 possible authenticators
经查看资料得知需要用qq授权吗 参考qq邮箱帮助中心
配置mail
'transport' => [ 'class' => 'Swift_SmtpTransport', 'host' => 'smtp.qq.com', //每种邮箱的host配置不一样 用的qq邮箱 'username' => '1173957281@qq.com', 'password' => 'pbjkxe*****wibfe', // 十六位授权码 'port' => '465', 'encryption' => 'ssl',],'messageConfig'=>[ 'charset'=>'UTF-8', 'from'=>['1173957281@qq.com'=>'admin']],配置后又提示 Sorry, we are unable to reset password for email provided
经查baidu查询后得到知要配置params[common/config/params.php]
配置文件中的supportEmail
return [ 'adminEmail' => '1173957281@qq.com', 'supportEmail' => '1173957281@qq.com', 'user.passwordResetTokenExpire' => 3600,];
否则会出现邮箱地址不匹配问题
阅读全文
0 0
- yii2使用邮箱组件发送邮件信息 Sorry, we are unable to reset password for email provided
- Yii2 使用邮箱组件发送邮件
- WMS has encountered a problem and needs to close. We are sorry for the inconvenience.
- 域名邮箱|Yii2.0使用QQ域名邮箱发送邮件
- 使用Apache Commons-email组件发送邮件
- 使用Apache email组件发送邮件实例
- 使用Apache email组件发送邮件实例
- 使用Apache Commons-email组件发送邮件
- 使用apache common email 组件发送邮件
- 记common-email发送邮件,使用qq邮箱服务器
- 使用CakePHP自带Email组件通过gmail发送邮件
- Yii2 使用十 发送邮件
- 使用Spring邮件发送Email
- 使用commons email发送邮件
- 使用Spring邮件发送Email
- 利用Apache commons-email组件发送邮件
- 利用Commons-email组件发送邮件
- We are currently unable to serve your request
- CentOS后台运行和关闭、查看后台任务命令
- NGINX 配置404错误页面转向
- eval
- python 大数 && Java 大数
- C语言学习中碰到的一些知识点与问题汇总
- yii2使用邮箱组件发送邮件信息 Sorry, we are unable to reset password for email provided
- 欢迎使用CSDN-markdown编辑器
- 模拟退火算法
- c++ socket通信客户端
- 结合无人机与人工智能助非洲打击偷猎行为【智库2861】
- Spire.Doc for .NET 运用(三)
- 01背包
- Linux 套接字编程中的 5 个隐患
- mysql获取两个日期内的所有日期列表