Lan Barnes wrote:
I want to write a small program that sends me mail when events happen.
What is the easiest 1-liner for doing this? Using expect on mail seems
like overkill. I envision writing a file with the mail in it and execing
something that sends that file.

echo "system events" | mail -s "subject goes here" [EMAIL PROTECTED]

--
Tracy R Reed                  http://ultraviolet.org
A: Because we read from top to bottom, left to right
Q: Why should I start my reply below the quoted text


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to