On Thu, Jul 20, 2006 at 10:46:29AM -0700, Tracy R Reed wrote:
> 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]
>
Thank you. It all looks so easy when you do it ;-)
I will name my next child after you. (Hint: None is planned ... but it's
still a great honor.)
--
Lan Barnes
Linux Guy, SCM Specialist
Tcl/Tk Enthusiast
Acceptance is not submission; it is acknowledgment of the facts
of a situation. Then deciding what you are going to do about it.
- Kathleen Casey Theisen
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list