Hi all,

A quick question.  Does anyone know how I can send an email in a 
non-interactive way?  All I want to do is put the contents of an entire 
message into one line and post it off.  If I do it like this I can call in 
some bash commands (like `dmesg`).  Similarly I don't want to write an expect 
script to do this.

I can do this for example:

mail [EMAIL PROTECTED] -s test1

But that still expects me to fill in the message body and Cc interactively.  I 
can't think of another alternative.  Any suggestions?  If I am missing 
something obvious here, please feel free to point it out.

Thanks,
Michael.

---
[EMAIL PROTECTED]
Message generated in webmail.

Reply via email to