Script email with attachments and save to Drafts? #258
Replies: 2 comments
-
Happy to hear that :) big features are coming, stay tuned!
I'm afraid it is not possible right now, it is a special use case I did not think about. There is no way for the command |
Beta Was this translation helpful? Give feedback.
-
|
It is doable now thanks to the MML language introduced a while ago. See the FAQ: "How to compose a message?". |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Thank you for this lovely tool. I was able to get Himalaya working without trouble, but there's one thing I want to do that I can't figure out:
I want to write a shell script that creates an email and saves it to my Drafts folder with an attached file.
I think that none of the existing commands do quite what I want:
himalaya template new --subject ... > draft.mailwill create a local file with the content I want, but does not add attachments or save to Draftshimalaya --mailbox Drafts save < draft.mailsaves to Drafts, but does not add attachmentshimalaya write --attachment ...creates an email with attachments and can save to Drafts, but it's interactive not scriptedI also tried
himalaya write < draft.mailwhich seemed promising, but I got an endless stream of(s)end, (e)dit, (l)ocal/(r)emote draft or (d)iscard? empty choicelines until I pressed Ctrl-C.Is there some combination of Himalaya commands that will let me script a draft email with attachments?
Thanks again!
Beta Was this translation helpful? Give feedback.
All reactions