All,
I would like to email a txt file from the command line as an attachement rather than the txt file being the body of the message.
example. mailx -s "Test Email" anyone@something.com < /tmp/text_file.txt
this just puts the context of /tmp/text_file.txt in the body. I want it to be delivered as an attachment.
Any help would be greatly appreciated.
Thanks
Simp
I would like to email a txt file from the command line as an attachement rather than the txt file being the body of the message.
example. mailx -s "Test Email" anyone@something.com < /tmp/text_file.txt
this just puts the context of /tmp/text_file.txt in the body. I want it to be delivered as an attachment.
Any help would be greatly appreciated.
Thanks
Simp