Daniel Gibbs 9 年之前
父節點
當前提交
b3bf65c424
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lgsm/functions/alert_email.sh

+ 1 - 1
lgsm/functions/alert_email.sh

@@ -231,7 +231,7 @@ fn_details_disk
 fn_details_gameserver
 fn_alert_email_template_logs
 if [ -n "${emailfrom}" ]; then
-	mail -s "${alertsubject}" -a "From: ${emailfrom}" "${email}" < "${emaillog}"
+	mail -s "${alertsubject}" -r "${emailfrom}" "${email}" < "${emaillog}"
 else
 	mail -s "${alertsubject}" "${email}" < "${emaillog}"
 fi