echo hello |sendmail my@qq.com
cat /root/mymail |sendmail my@qq.com
转载于:https://www.cnblogs.com/xia/archive/2012/03/17/2403958.html