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

+5 -1
View File
@@ -186,5 +186,9 @@
"// gmail_imap_password": "Gmail 应用专用密码(非登录密码)",
"gmail_imap_password": "",
"gmail_imap_host": "imap.gmail.com",
"gmail_imap_port": 993
"gmail_imap_port": 993,
"// gmail_delete_after_code": "Gmail 取到验证码后是否 IMAP 删除该邮件(失败不影响注册)",
"gmail_delete_after_code": true,
"// hotmail_delete_after_code": "Hotmail/Outlook 取到验证码后是否 IMAP 删除该邮件",
"hotmail_delete_after_code": true
}