Delete verification emails after code extraction

IMAP-delete Gmail/Hotmail verification messages once the code is parsed, with config toggles and non-blocking failure handling.
This commit is contained in:
chaos committed 2026-07-11 18:32:17 +08:00
1 parent 06044551c7
commit 187792d6be
3 files changed
+37 -1

No files matched your search

+1
View File
@@ -158,6 +158,7 @@ cp config.example.json config.json
- `defaultDomains`:Cloudflare 等 catch-all 域名,用于生成注册邮箱
- 验证码实际进入 Gmail;用 **应用专用密码**,不是登录密码
- 也可把账号密码只写在 `.env` 的 `GMAIL_USER` / `GMAIL_PASSWORD`
- 取到验证码后默认 **删除该邮件**(`gmail_delete_after_code: true`),避免 catch-all 邮箱堆积;失败不影响注册
#### B. Hotmail / Outlook