摘要: 1、首先,你需要在你的框架中下载queue这个扩展 composer require topthink/think-queue 2.公共配置,配置文件位于:config/queue.php return [ 'default' => 'redis', 'connections' => [ 'sync 阅读全文
posted @ 2021-04-18 21:38 Conqueror· 阅读(2534) 评论(1) 推荐(0) 编辑
摘要: 1.需要在qq邮箱获取你的授权码,获取后才能用你的qq账号发送邮件 2.使用 下载扩展包 composer require phpmailer/phpmailer 3.可以封装,使用时自己调用 public function sendMail() { $toemail = '407489256@qq 阅读全文
posted @ 2021-04-18 18:35 Conqueror· 阅读(1457) 评论(0) 推荐(0) 编辑