From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,9e1333f8441806f2,start X-Google-Attributes: gidfee84,public From: mred@neosoft.com (Edward Stangler) Subject: Subject in mail? Date: 1995/12/14 Message-ID: <4ao6sl$92i@uuneo.neosoft.com>#1/1 X-Deja-AN: 121843821 organization: NeoSoft Internet Services +1 713 968 5800 reply-to: mred@neosoft.com (Edward Stangler) newsgroups: comp.unix.osf.osf1 If there is a FAQ that covers this, please let me know. My CGI program (in C) sends e-mail to people. I want to change the "From:" field from 'root' to a specified name. I also want to add a subject line. I can change the "from:" using: mail -r whatever@wherever.com destination < myfile.txt I can change the "subject:" using: xmail -s "My Subject" destination < myfile.txt Xmail allows me to change the "from:" ONLY IF I do not specify a subject. I want to do both, however. Is there a way to get both changed? -Ed- mred@neosoft.com