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" -- hello@emailaddress.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.

Written by Matt Cooper
Hi, I'm Matt Cooper. I started this blog to pretty much act as a brain dump area for things I learn from day to day. You can contact me at: matt@linuxtutorial.co.uk.