So, Mail Attachments
A couple days ago, the topic was
RubyMail. Dan Berger’s question was: how to do attachments. I didn’t look deep enough to figure out what the answer was.
But here’s a script called
samail from Japan. The script is halfway down the page and is designed to be used like so:
$ samail -v --to "firstname.lastname@example.org email@example.com" \ --from firstname.lastname@example.org --smtp smtp.example.com \ --attachment "logo.png /tmp/backup.tar.bz2"