第一个命令行参数会被当邮件内容发送出去
#!/bin/bash #@author Liuyang #@date 2015-02-15 [email protected] [email protected] TO=$Recipients CC= sendmail "$Recipients" << EOF From: Liuyang <$FROM> To: $TO Subject: Subject $1 EOF
时间: 2024-11-10 12:42:59
第一个命令行参数会被当邮件内容发送出去
#!/bin/bash #@author Liuyang #@date 2015-02-15 [email protected] [email protected] TO=$Recipients CC= sendmail "$Recipients" << EOF From: Liuyang <$FROM> To: $TO Subject: Subject $1 EOF