Chris Bartram wrote:
>
> In <[log in to unmask]> [log in to unmask] writes:
>
> > I noted in the documentation for Sendmail that it does not include a Mail
> > User Agent, MAU. We are looking at sending e-mail from our applications
> > programatically and I was wondering how other sites have handled this with
> > Sendmail?
>
> Basically, MAILX is Sendmail's user-agent. It's not designed for programmatic
> control, though you can invoke it via command files. (You're not going to
> get much back from it as far as status/result codes/confirmation that the
> message actually got queued).
As Chris points out, MAILX.HPBIN.SYS is rather simple-minded. But MAILX is
part of FOS, not Sendmail/iX.
To send e-mail directly using just the stuff that comes with Sendmail/iX, you
would invoke the /SENDMAIL/PUB/SENDMAIL program with stdin redirected to the
fully composed (headers+body) message that you want to queue for sending.
For an example CI command file that does this, please see:
http://www.bixby.org/ftp/pub/mpe/mailspf.ci
- Mark B.