标签:mail -s
1.文末增加
set from="ittest@lungcheong.com.cn"
set smtp="128.1.30.200"
set smtp-auth-user="ittest" smtp-auth-password=“”
set smtp-auth="login"
2.
vi sendmail.sh
echo "正文" | mail -s "主题" @.com
chmod +x sendmail.sh
标签:mail -s
原文地址:http://blog.51cto.com/junch/2096861