Files
mail/AGENTS.md
titor 52c5eb5ae8 feat: 重构配置文件格式并添加 IMAP ID 命令支持
- 配置文件分离:用户配置与项目配置分离,项目级配置(客户端信息、需要 ID 命令的 provider)放在代码中
- 新增 check_id 字段:用户可选择禁用单个账户的 ID 命令发送
- 简化 provider:只保留 163 和 QQ,移除未使用的 Gmail/Outlook/188 等
- 修复 163 邮箱收件箱问题:通过发送 IMAP ID 命令解决 Unsafe Login 错误

BREAKING CHANGE: 配置文件格式变化,旧配置不兼容
2026-04-10 00:39:06 +08:00

50 lines
970 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Pop 开发记录
## Changelog
| 日期 | 版本 | 描述 |
|------|------|------|
| 2026-04-09 | v0.1.0 | 初始规划:发送历史、收件箱功能 |
| 2026-04-09 | v0.1.1 | 配置简化支持多账户、自动识别Provider |
## 讨论记录
- [第1次功能规划](./doc/001-feature-planning.md)
- [第2次配置简化讨论](./doc/002-config-simplification.md)
## 配置文件格式
```yaml
from:
account: foolsecret@163.com
accounts:
- name: work
email: 邮箱
provider: 163
username: foolsecret@163.com
password: 密钥
encryption: ssl
insecure: false
imap:
host: imap.163.com
port: 993
smtp:
host: smtp.163.com
port: 465
- name: qqemail
email: 邮箱
provider: qq
username: xxx@qq.com
password: QQ邮箱IMAP授权码
encryption: ssl
insecure: fales
imap:
host: imap.qq.com
port: 993
smtp:
host: smtp.qq.com
port: 465
```