Using mailx and uuencode on a unix host, you can send a message from the command line with an attachment like so.
uuencode FILE | mailx -s “test message with an attachment” youraddy@yourhost.com
I add one more step and send a zipped directory to my self every night
zip -j -q -r -/tmp/directory/ | uuencode tmp.zip | mailx -s “test message with a zip attachment” me@me.com