#按照mutt
yum -y install mutt

#发送邮件

echo "邮件正文内容" | mutt xxxxx@163.com -s "邮件主题" -a 附件本地地址