Open us91 opened 3 years ago
Never mind, I found a solution:
echo | mutt -H draft.msg
The above workaround only works when there is no attachment. When attachments are included via
Attach: filename
lines, then the attachment is not properly processed. So I am re-opening this feature request.
Use the -a option to add attachments. That works with -H. I don't think an Attach: header means anything.
This issue should be closed.
Attach: header actually attach files. This works currently. This has the benefit of enabling another way of attaching files, which I found very convenient. I use it in situations where I compose emails based on templates, and the attachment file is part of the template. So I still hope the feature request can be considered.
Thanks for the correction. I didn't know about that.
But mutt is in maintenance phase, and this request probably won't happen. What you want doesn't work in neomutt either, but you might have better luck asking for the feature to be added there (https://github.com/neomutt/neomutt).
With the -H switch, a draft message can be sent, but only after being edited (even when -E switch is not provided). It would be great if there is a way to take a draft message with either -H or a new flag, but directly send it out. This feature is requested to facilitate sending out several already composed messages with all the required fields embedded, without user intervention.