I'm using a remote command calling ssmtp to generate email notifications of events. (The built-in Zabbix email notification feature is useless for me since it does not do SMTP authentication, and our SMTP server requires authentication).
I'm trying to construct the body of the outgoing email using macros, e.g.
{DATE} {TIME} {TRIGGER.NAME}:{STATUS} {IPADDRESS} {PROFILE.LOCATION}
However, this puts all the data on one line of the email. I would like to insert line breaks. Is this possible? I've tried inserting \n, but those just get printed literally. Is there another way to insert line breaks?
I'm trying to construct the body of the outgoing email using macros, e.g.
{DATE} {TIME} {TRIGGER.NAME}:{STATUS} {IPADDRESS} {PROFILE.LOCATION}
However, this puts all the data on one line of the email. I would like to insert line breaks. Is this possible? I've tried inserting \n, but those just get printed literally. Is there another way to insert line breaks?

Comment