Handle multiple lines output to send by email
Posted: Fri Jan 03, 2020 8:42 pm
Hi , guys , im sending emails from my mkt device with:
I would like to set the $body variable to send the output of:
How can I do it ?
So far , I can grab one line by one doing:
But ... I think there should be a better and faster way.
Any idea, would be pretiated.
Regards.
Leandro
Code: Select all
/tool e-mail send file=backup to="leandro@pepe.com.ar" body=$body subject="system_backup_$[/system identity get name]"
Code: Select all
/system resource print
So far , I can grab one line by one doing:
Code: Select all
[:tostr [/system resource get value-name=board-name]]
Any idea, would be pretiated.
Regards.
Leandro