diff --git a/lgsm/functions/alert_email.sh b/lgsm/functions/alert_email.sh index 2e6bec0c8..f5faa1a9d 100755 --- a/lgsm/functions/alert_email.sh +++ b/lgsm/functions/alert_email.sh @@ -13,7 +13,7 @@ fn_sleep_time if [ -n "${emailfrom}" ]; then mail -s "${alertemoji} ${alerttitle} ${alertemoji}" -r "${emailfrom}" "${email}" < "${alertlog}" else - mail -s "${alerttitle}" "${email}" < "${alertlog}" + mail -s "${alertemoji} ${alerttitle} ${alertemoji}" "${email}" < "${alertlog}" fi exitcode=$? if [ "${exitcode}" == "0" ]; then