标签:bash 发送邮件
第一个命令行参数会被当邮件内容发送出去
#!/bin/bash #@author Liuyang #@date 2015-02-15 Recipients=xxx@xx.com FROM=xxx@xx.com TO=$Recipients CC= sendmail "$Recipients" << EOF From: Liuyang <$FROM> To: $TO Subject: Subject $1 EOF
标签:bash 发送邮件
原文地址:http://blog.csdn.net/liuyanggofurther/article/details/46602963