[neomutt-users] Send mail from command line -> add input

Sven Guckes neomutt-lists at guckes.net
Tue Aug 21 17:05:32 CEST 2018


* Valentin Iovene <tgy at inria.fr> [2018-08-21 15:51]:
> On 21.08.2018 10:42, Valentin Iovene wrote:
> > #!/usr/bin/env bash
> > neomutt \
> >   -B \
> >   -e "set from = tgy at work.com" \
> >   -d 5 \
> >   -s "print on `date`" \
> >   -a $@ \
> >   -- network-printer at work.com
>
> Did not mean to include the -B (bulk) option.
> This effectively silences the program but no email is sent.
> This is probably not at all what I'm looking for!

neomutt just needs some input:

  echo something | neomutt...

and "something" can be empty, of course.

Sven

-- 
neomutt maillist reminder:
please *sign* your messages.
why?  because we can, right?!  :-)


More information about the neomutt-users mailing list