Email attachment question
I'm trying to automate dumping a mySQL database to a CSV and then sending the CSV as an attachment to a predefined email address. Dumping the database to CSV works okay. The problem I'm having is figuring out how to email it as an attachment from the command line.
The site is running on a pair server so there's little chance they'd let me install mutt. Could someone please enlighten me as to where to look for qmail command line syntax to mail an attachment? I've spent hours on google looking.
mail -a attachment.csv -s "Subject" target@domain
doesn't seem to be working.
The site is running on a pair server so there's little chance they'd let me install mutt. Could someone please enlighten me as to where to look for qmail command line syntax to mail an attachment? I've spent hours on google looking.
mail -a attachment.csv -s "Subject" target@domain
doesn't seem to be working.
