1. Install mutt
yum install mutt
2. Zip the file you wish to send
3. Send the file with mutt
mutt -a file.zip -s "Kafka" -- email@example.com
Follow the prompts on screen. The tmp file which opens is to add text to the email body. Enter some text, save and close it. Hit Y to send.