On 11-Jan-2003/19:48 +0000, Greg Conway <[EMAIL PROTECTED]> wrote: >Hi all, > >I am trying to automate the Emailing of a tar file from a RedHat system, >but when it arrives at it's destination it's obviously been converted to >a text file! > >I presume what I need to do is send the file in MIME format. I found a >switch -B 8BITMIME in the man entry, but this didn't work!
Try my sendfile shell script: http://www.pobox.com/~agreene/downloads/ It uses the syntax: sendfile filename recipientlist It looks in ~/mime.types and /etc/mime.types to try to assign a MIME type that is consistent with the filename extension. It defaults to application/octet-stream. It uses mmencode to base64 encode the attachment. mmencode is part of the metamail package. Tony -- Anthony E. Greene <mailto:[EMAIL PROTECTED]%3E> OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D AOL/Yahoo Messenger: TonyG05 HomePage: <http://www.pobox.com/~agreene/> Linux. The choice of a GNU generation <http://www.linux.org/> -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list