The “uuencode” program can be used to send attachments through the classic BSD mail program.
Just try:
shell> uuencode FILE ATTACHMENT-NAME | mail -s SUBJECT RECIPIENT
Or, if you want to compress a file and send it, just try:
shell> gzip FILE | uuencode ATTACHMENT-NAME | mail -s SUBJECT RECIPIENT
RSS Feed