Yeah - I've found uuencode to work better

uuencode filename filename  | mail -s "file attached" [EMAIL PROTECTED]

You have to give the filename twice to uuencode

-----Original Message-----
From: Nick Rout [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 4 March 2004 9:48 a.m.
To: CLUG
Subject: /bin/mail with attachment


I should know the answer, but cannot recall the magic incantation. how do I
send an attachment to a mail sent with /bin/mail

it involves using a little encoder, something like 

encode-base64 attach.bin|mail nick -s "heres the file"

except that doesn't work.
-- 
Nick Rout <[EMAIL PROTECTED]>

Reply via email to