ubuntu命令行直接发送email,带附件

来源:互联网 发布:linux格式化磁盘 编辑:程序博客网 时间:2024/06/10 17:22

1. 安装

sudo apt-get install mailutils


2. 发送

echo "your message here" | mail -s "title" -A /home/ubuntu/zhangtiey/peloton_ex/build/tpcc-output/output2017612632.summary zhangtiey@gmail.com

原创粉丝点击