![](https://seccdn.libravatar.org/avatar/61febbd3f6e97cb7f38305953dd64c71.jpg?s=120&d=mm&r=g)
On Monday 08 March 2004 4:21 pm, Ben Yau wrote:
We recently upgraded from 7.1 to 9.0 and I've just realised that elm isn't in the package anylonger :(
Can anyone suggest something that is in 9.0 which I can use as an alternative. I'm calling it from within a C++ program using system() to mail out log files...
Any help appreciated,
alan
You can use the 'mail' or 'sendmail' commands for mailing out from scripts/programs. I usually use sendmail. Something like
`cat filename | /usr/lib/sendmail -v [address]`
A more common approach is to pipe through '/usr/bin/mail -s "subject" user@host'. -Nick -- <<< Why, oh, why, didn't I take the blue pill? >>> /`-_ Nicholas R. LeRoy The Condor Project { }/ http://www.cs.wisc.edu/~nleroy http://www.cs.wisc.edu/condor \ / nleroy@cs.wisc.edu The University of Wisconsin |_*_| 608-265-5761 Department of Computer Sciences