Script email with attachments and save to Drafts? #258
jamesaoverton
started this conversation in
General
Replies: 1 comment
-
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.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.mail
will create a local file with the content I want, but does not add attachments or save to Draftshimalaya --mailbox Drafts save < draft.mail
saves 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.mail
which seemed promising, but I got an endless stream of(s)end, (e)dit, (l)ocal/(r)emote draft or (d)iscard? empty choice
lines 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