Himalaya 是做什么的?
使用 himalaya 通过 IMAP/SMTP 从 Shell 处理邮件。
参考
references/configuration.md:账户配置、认证、后端设置。references/message-composition.md:MML 编写语法。
设置
himalaya --version
himalaya account configure
配置路径:~/.config/himalaya/config.toml。
推荐使用密码管理器/密钥环来管理凭证;请勿将密码粘贴到聊天或日志中。
读取/搜索
himalaya folder list
himalaya envelope list
himalaya message read <id>
himalaya envelope list from [email protected] subject invoice
编写
himalaya message write
himalaya template write
himalaya template send < /tmp/message.txt
himalaya message reply <id>
himalaya message forward <id>
使用 MML 添加附件和编写富文本邮件;请先阅读 references/message-composition.md。
整理
himalaya message copy <id> --to <folder>
himalaya message move <id> --to <folder>
himalaya message delete <id>
himalaya flag add <id> --flag seen
himalaya flag remove <id> --flag seen
注意
- 存在多个账户时使用
--account。 - 在摘要中引用确切的邮件 ID。