[neomutt-users] Send mail from command line (no ncurses interface, exit immediately)

Valentin Iovene tgy at inria.fr
Tue Aug 21 16:51:21 CEST 2018


On 21.08.2018 16:33, Rieger Anton wrote:
> I'm using the -x switch as follows, as my scripts used mail(x) earlier:
> 
> neomutt -x -s "Subject" -- myemail at example.org < body.txt
> 
> As you're using bash, you could silence the body with:
> 
> neomutt -x -s "Subject" -- myemail at example.org <<< ""

Great, that worked perfectly. Thanks Rieger!

-- 
Valentin Iovene


More information about the neomutt-users mailing list