Send file from cmd line

This way you send file directly from command line
echo "body" | mutt -a "/path/to/file" -s "subject" -- name@hostname