man mail
mail -s howdy [EMAIL PROTECTED] < name_of_file
this will mail a message to joe w/ subject of howdy. the message is
the name_of_file.
Robert W. Canary wrote:
> I'm trying to find out how do I send mail from a commadline that
> includes a particular file as the message text (an attachtment would
> work just as good). I need to insert this into a script.
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.