On Wed, Oct 11, 2000 at 04:44:56PM -0400, Jean-Paul Laberge wrote:
> I'd like to know how to use 'mutt' in batch mode, without a user
> intervention. I use the following command:
>
> mutt -a attached.txt -s "Test from MUTT" jplaberge@.aircanada.ca
>
> but I'm always going in the user interface.
>
> Is it possible to do it? And, if yes, do you know how to do it?
It is possible, just pass the message body (or /dev/null if none) to
standard input.
This ought to be in the FAQ:
mutt -a attached.txt -s "Test from MUTT" jplaberge@.aircanada.ca </dev/null
--
Tommi Komulainen [EMAIL PROTECTED]
PGP signature