On Tue, 5 Feb 2002, louie miranda wrote: >hi for ex: i have this file in.tar.gz format, i want to insert it when >sending email thru: > >mail -v [EMAIL PROTECTED] < in.tar.gz > >-- when i rcv this email, it reads binary format and attached in the msg >body.. >uhm, how can i make it as an attachement?
Not sure if this will make it an attachment, but you could try this uuencode myfile.tgz myfile.tgz ^^^^^^^^^^ -- name as will appear on the attachment This should spit out to stdout. So call mail as uuencode myfile.tgz myfile.tgz | mail -s "Subject Line" [EMAIL PROTECTED] Hope this helps Cameron Kerr -- [EMAIL PROTECTED] http://homepages.paradise.net.nz/~cameronk/