Eric Smith wrote: > I want to send (say from a script), the same way i may send like this: > mutt whoever -ssubject</etc/passwd > > But with the -H and a draft that contains all the header info and a > complete body, it always prompts me. > > Can I avoid the prompt?
If you already have the header created, just call sendmail directly: /usr/sbin/sendmail -t < /tmp/draft.txt The -t option makes sendmail get the recipients from the header of the message.