mirror of
https://github.com/kuaifan/dootask.git
synced 2026-06-24 16:22:21 +00:00
guanguans/notify 在本项目仅用于 SMTP 发信,但其 1.x 线已停更、email 渠道 自 3.x 起被上游移除(无升级路径)。改用项目已自带的 symfony/mailer(Laravel 13 传递依赖),零新增依赖,并一并移除孤儿依赖 overtrue/http、symfony/options-resolver。 - EmailNoticeTask / UserEmailVerification / SystemController 三处发信改为 new Mailer(Transport::fromDsn(...)) + new Email();API 1:1 等价 (from/to/subject/html 同名,verify_peer=0 仍受 symfony 8.x 支持, notify 本就裸调 symfony 故异常透传不变、getCode()===550 仍成立) - 移除 UserTransfer 未使用的 notify import - 顺带修复既有 bug:超时判断字面量 "Timed Out" 与 symfony 实际消息 "timed out" 大小写不匹配,改 stripos 大小写不敏感 验证:phpstan 0 错误、composer audit 无公告;邮箱验证码、系统邮件测试两条 链路实测发信成功。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>