Oops! I guess you should put an empty line between the header and the body. But the MTA seems to get it right anyway. < (echo "To: wilson@claborn"; echo "Subject: hi"; cat /some/file) |sendmail -i > (echo "To: wilson@claborn"; echo "Subject: hi"; echo; cat /some/file) \ > |sendmail -i -- Johannes Eriksson <[EMAIL PROTECTED]> _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
- [OT] sending messages as a single command with /bin/mail Jonathan Wilson
- Re: [OT] sending messages as a single command with ... Johannes Eriksson
- Johannes Eriksson