On Mon, 21 Feb 2000, Rogier Maas wrote:
But this doesn't get me the binary file I've been waiting for all week. I could just do:
cat file | mail icarus@guldennet.nl -s "Binary file"
But this would get me rubbish. I just cannot send a binary file in this manner. I'm working on a script that can send MIME-encoded messages with binary files as attachments. It is finished, but to one thing: When I have a complete mailfile, sendmail -i user@domain.com < script gives me an attachment, but that one is empty. I haven't got a clue how I can insert binaries into that stupid (sorry) sendmail thingy.
Am I re-inventing the wheel here?
What's wrong with doing: cat file | gzip -9 | uuencode | mail icarus@guldennet.nl -s "Binary file" Isn't this what makes the command line so glorious? :) -- Robert S. McMillan rmcmilla@ptinet.net "The right to privacy... is the most comprehensive of rights and the right most valued by civilized man" - Justice Louis Brandeis, US Supreme Court, 1928 -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/