in reply to Mail with Attachment in UNIX
/usr/bin/uuencode file2attach file2attach | mailx ... [download]