Howdy,

I'm trying to use /bin/mail in a bash script to send me the contents of a certain file.
My problem is I can't figure out how to do the body of the message. If I do the 
following:

#!/bin/bash

mail -s 'hi'' [EMAIL PROTECTED] <<EOF

EOF


It works fine, but that's only the subject line. I don't really see anything about the 
body in the mail man page.

So how do I include more text?

----------------------------------------------------
Jonathan Wilson
System Administrator

Cedar Creek Software
http://www.cedarcreeksoftware.com

Central Texas IT
http://www.centraltexasit.com



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to