o_哈哈o 发表于 2015-9-15 01:34:01

Shell sendMail

  
  



#!/bin/bash
/usr/sbin/sendmail -t <<EOF
From: alert center <test@126.com>
To: test@126.com
#Cc: test@126.com
#Bcc: test@126.com
Subject: $1
---------------------------------
$2
---------------------------------
EOF
页: [1]
查看完整版本: Shell sendMail