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

Sven Guckes neomutt-lists at guckes.net
Tue Aug 21 17:06:13 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?!  :-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1473 bytes
Desc: not available
URL: <http://mailman.neomutt.org/pipermail/neomutt-users-neomutt.org/attachments/20180821/bd11edc9/attachment.sig>


More information about the neomutt-users mailing list