ka1ifq wrote: > On Tuesday 25 September 2007 09:34, Jacob (=Jouk) Jansen wrote: >> Hi all, >> >> I try to send an E-mail with the content of an ASCII file as the body. >> I do this with the following command >> mail -s subj [EMAIL PROTECTED] < licinfo.txt >> >> When I give the command on a Fedora (several versions tested) the E-mail is >> recieved with the expected text in the body. >> If I give the command on an OpenSuse 10.2 system An E-mail which is >> unreadable is recieved at the other end. >> >> How can I get the same behaviour on the OpenSuse system as on the Fedora >> system? >> >> Jouk Jansen > > man mail says the following. > > -q file > Start the message with the contents of the specified file. May > be given in send mode > only. >
cat file | mail -s 'some subject' [EMAIL PROTECTED] Always worked as well -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
