Are there any command line options/flags/ways to compose a message with mutt and skip the interface entirely? For example, when I run something like
mutt -i ~/output.txt -s 'Test results' name@domain.com
I don't want 3 editor windows and a compose menu (where I have to enter 'y' to send) to come up that I have to manually get through before sending the message. This is to be run in a cron-job so it should be fully automated.
这似乎适用于我的mutt版本,但我不知道该功能是否普遍可用:
echo "" | mutt -s "my subject" -i <(echo bla) -a file.txt -- name@domain.com
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.