Quoting Suresh Ramasubramanian <[EMAIL PROTECTED]>, who wrote:
> Masand, Manish [mutt-users] <19/06/01 17:26 +0200>:
> > Thanks for your prompt reply,Suresh.
> > how to use mutt -x ......could u pls give an example.
> > Thanks a lot.
>
> man mutt ... please.
Have you tried this, Suresh?
It says "emulates mailx", and that's it.
And on my system (RedHat, which is fairly mainstream) mailx
does not exist.
How to inject mail on a Unix system is extremely poorly
documented, if you have ANY man pages that describe how
to do this programmatically, I'd like to see them, I am
collecting docs on mail interfaces. If you use /sbin/sendmail
it's man page has an extremely terse description of what it
does, nullmailer-inject has a better description, but only
for it's interface, not for the sendmail-compatible one.
Mostly, how to do this is Unix hand-me-down knowledge, you
know if you've done it, or read code that does it.
Perhaps you can send us a copy of mailx.man if you've
got one, I for one would be curious to see what it is.
Cheers,
Sam
p.s. Manish, call mutt with the destination addresses on
the command line, using the -s option to specify the subject,
and pipe an rfc2822 formatted message into it on stdin, in
summary. Read about mutt's alias command if you want to define
a group, rather than putting all the destination addresses
on the command line. Read the popen() man page, if you haven't
done this kind of thing before from C before, or the equivalent
in whatever language you're using.
--
Sam Roberts <[EMAIL PROTECTED]>