Preview:
$yum install mailx
$ echo "Message Body Here" | mailx -s "Subject Here" -a backup.zip user@example.com

Sample:
[root@fe0vmc2xx7 ~]# echo "PFA the ks-post-1.log file" | mailx -s "ks-post-1.log file from Lab machine" -a ks-post-1.log santhosh.writetome@gmail.com
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter