I am running the sendEmail script to send email alerts. The script works but the message body is all one line. Has anyone figured out how to enable this to multiline.
Here is my script:
#!/bin/sh
export zabbixemailto="$1"
export zabbixsubject="$2"
export zabbixbody="$3"
/usr/bin/sendEmail -f [email protected] -s smtpout.mydomain.com -xu [email protected] -xp password -t $zabbixemailto -u $zabbixsubject -m $zabbixbody
Here is my script:
#!/bin/sh
export zabbixemailto="$1"
export zabbixsubject="$2"
export zabbixbody="$3"
/usr/bin/sendEmail -f [email protected] -s smtpout.mydomain.com -xu [email protected] -xp password -t $zabbixemailto -u $zabbixsubject -m $zabbixbody
Comment