I'm trying to send a csv file as an attachment through the command line in Ubuntu. Currently, when running what seems to be the right command an e-mail is sent however, the contents of the CSV file are sent in the body instead of an actual file.
Any ideas? The command used is:
mailx -a ./filename email@address.co.uk