[SunHELP] Sendmail and KSH

William Enestvedt Will.Enestvedt at jwu.edu
Fri Apr 5 13:44:27 CST 2002


> Can someone point me toward a doc that gives some detail 
> about how to send email with sendmail from a KSH script?
> 
   I use mailx, like this:
cat /some/file | mailx -s "subject text' recipient at mail.domain
   Seems to work under /bin/sh, so there's no reason it won't work under
ksh; I don't have sendmail running all the time, but it starts up and send
out my messages whenever a script of mine asks it to.
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson & Wales University -- Providence, RI



More information about the SunHELP mailing list