> mail someone@xxxxxxxxxxxxx -s "your subject" < body.txt > OR > cat body.txt | mail someone@xxxxxxxxxxxxx -s "your subject' Isn't that dependent on mailx though, not sendmail? Sendmail doesn't allow you to specify a subject on the cmd line. John -- # John Madden weez@xxxxxxxxxxxxx ICQ: 2EB9EA # FreeLists, Free mailing lists for all: //www.freelists.org # UNIX Systems Engineer, Ivy Tech State College: http://www.ivytech.edu # Linux, Apache, Perl and C: All the best things in life are free!