Commit Graph

26 Commits

Author SHA1 Message Date
c9b77feabe feat: 收件箱功能新增按回车查看详情面板
- 添加邮件详情面板显示(主题、发件人、收件人、抄送、账户、时间、正文)
- 优化邮件列表卡片样式,增加选中高亮效果
- 窗口宽度 >= 80 时启用双面板布局,左侧列表右侧详情
- 简化依赖包,从 charm.land 使用统一导入路径
- 删除未使用的 golangci/goreleaser 配置文件
2026-04-10 04:41:22 +08:00
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
7ab9f00c4f Fearure:
- 增加收件箱功能(有BUG)
- 增加已发送|草稿箱|发送历史 本地记录
2026-04-09 21:48:21 +08:00
Jakub Fišer
099181053a Merge pull request #124 from jficz/fix_92
fix: Don't test for stdin when body non-empty
2025-03-25 21:34:34 +01:00
Maas Lalani
7f2ec5e5df feat: add CC and BCC inputs if --cc or --bcc is specified. (#65)
This commit adds CC + BCC hidden inputs and are shown if the user passes
in some value to the `-cc` or `--bcc` flags.
2024-04-25 11:18:45 -04:00
Maas Lalani
f18db202f9 fix: --from should take priority over --smtp.user if set 2023-09-26 15:54:48 -04:00
Carlos Alexandro Becker
fca3852910 fix: handle both resend and smtp set up together (#28)
* fix: handle both resend and smtp set up together

closes #27

* fix: error header

* fix: error messaging

---------

Co-authored-by: Maas Lalani <maas@lalani.dev>
2023-08-17 11:15:37 -04:00
Maas Lalani
65b34a366a fix: exit status 1 when missing environment variable 2023-08-01 11:28:17 -04:00
Ayman Bagabas
68ec042eb7 fix: remove extra completion cmd
Cobra by default provides completions for us, there is no need to define one.
2023-08-01 11:22:40 -04:00
Maas Lalani
7397bcb80e SMTP Support (#17) 2023-07-31 10:32:02 -04:00
egor
f8dfdafcd2 feat/unsafe html (#11)
* add unsafe html render and plugins

* small env fix

* update UNSAFE_HTML env

Co-authored-by: Maas Lalani <maas@lalani.dev>

---------

Co-authored-by: Maas Lalani <maas@lalani.dev>
2023-07-20 16:42:37 -04:00
Maas Lalani
79edec1f07 feat: add man page 2023-07-13 11:05:27 -04:00
Maas Lalani
3cd260b3c8 feat: completion + version 2023-07-12 12:07:31 -04:00
Maas Lalani
960893fd34 feat: add signature 2023-07-11 10:21:28 -04:00
Maas Lalani
10c7b1d96a feat: --preview flag 2023-07-10 21:14:33 -04:00
Maas Lalani
50e40f8cc2 fix: seed attachments from command line 2023-06-27 14:34:28 -04:00
Maas Lalani
71008451b1 fix: separate email sent to links 2023-06-20 10:21:01 -04:00
Maas Lalani
72450a7fc6 fix: allow --help with API key 2023-06-15 15:17:22 -04:00
Maas Lalani
f7b87a514c fix: copy edit 2023-06-15 11:27:20 -04:00
Maas Lalani
6879387140 fix: don't print emailSummary when aborting 2023-06-15 11:04:38 -04:00
Maas Lalani
1fdf21c19d refactor: emailSummary 2023-06-15 11:03:14 -04:00
Maas Lalani
6e1c758b60 feat: pretty print success 2023-06-15 10:59:25 -04:00
Maas Lalani
165699944a fix: better errors 2023-06-15 10:52:27 -04:00
Maas Lalani
616601a34a feat: convert markdown to html 2023-06-15 10:30:20 -04:00
Maas Lalani
daa31dc744 feat: send email 2023-06-15 09:45:14 -04:00
Maas Lalani
5c247b107d feat: email tui 2023-06-13 23:31:19 -04:00