第一个命令行參数会被当邮件内容发送出去
#!/bin/bash#@author Liuyang#@date 2015-02-15Recipients=xxx@xx.comFROM=xxx@xx.comTO=$RecipientsCC=sendmail "$Recipients" << EOFFrom: Liuyang <$FROM>To: $TOSubject: Subject$1EOF
本文共 195 字,大约阅读时间需要 1 分钟。
第一个命令行參数会被当邮件内容发送出去
#!/bin/bash#@author Liuyang#@date 2015-02-15Recipients=xxx@xx.comFROM=xxx@xx.comTO=$RecipientsCC=sendmail "$Recipients" << EOFFrom: Liuyang <$FROM>To: $TOSubject: Subject$1EOF
转载地址:http://zrunx.baihongyu.com/