Himalaya 是做什麼的?
從 shell 使用 himalaya 進行 IMAP/SMTP 電子郵件操作。
參考資料
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> <folder>
himalaya message move <id> <folder>
himalaya message delete <id>
himalaya flag add <id> --flag seen
himalaya flag remove <id> --flag seen
備註
- 若有多個帳號,請使用
--account參數。 - 在摘要中引用精確的郵件 ID。