11 Commits

Author SHA1 Message Date
kuaifan
2f8dee44c2 refactor(mail): 邮件发送弃用 guanguans/notify 改用 symfony/mailer
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>
2026-06-15 06:10:47 +00:00
kuaifan
f8b65a5546 no message 2025-04-23 22:46:52 +08:00
kuaifan
f29bf3640a no message 2024-12-10 20:43:32 +08:00
kuaifan
aa1ea41c5d perf: 优化邮件通知 2024-12-02 08:46:40 +08:00
kuaifan
88aee1e3bf fix: 修复账号被禁用之后还能收到推送和邮件 2024-11-22 16:50:13 +08:00
kuaifan
0ec255ed60 perf: 优化任务内容 2024-11-19 18:39:24 +08:00
kuaifan
89a50fd389 no message 2024-11-19 11:22:00 +08:00
kuaifan
1227a05e2d perf: 优化邮件通知 2024-11-12 19:52:12 +08:00
kuaifan
c46fd080df perf: 优化国际化语言 2024-11-05 22:43:58 +08:00
kuaifan
312acdab51 perf: 优化预览消息 2024-11-01 21:18:04 +08:00
kuaifan
3a9001e091 Upgrade Professional Edition 2023-03-24 09:08:53 +08:00