Maybe
uuenview is what you're looking for. Check the official homepage of the
uudeview project
here. An example of the usage is
Code:
uuenview -m $email -f "$from" -s "$subject" -a $file << EOF
email body here
EOF
where mail is sent to $email and has $file as an attachment. Test and enjoy!
![Smilie](https://www.linuxquestions.org/questions/images/smilies/smile.gif)