Did you try something like mail -s "subject" [EMAIL PROTECTED] < yourmessage.txt
where yourmessage.txt is the file containing your message. ----- Original Message ----- From: "Roger E McClurg" <[EMAIL PROTECTED]> To: "leaf" <[EMAIL PROTECTED]> Sent: Monday, March 22, 2004 3:18 PM Subject: [leaf-user] Sending mail from a script > I know that mail messages are normally terminated with a control-d. Can > someone please tell me how to end a mail message when it is sent from a > script file in Bering? I know it is a simple trick, but for the life of > me I cant remember it. > > Roger > ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html