I'm using a Logon Notification script which send an email to the NetOps team, and it works good, but the script is old. Time for a bit of an update.
I now want to reformat the email being sent out by the script. Is there a way to use HTML markup in MikroTik's email facility?
This is basically what I want to accomplish:
I've tried using *...* and <strong></strong>, but the output is literal - looks like the script is sending in Plaintext. Is there a way I can accomplish this?Hi,
This is a security notification from $device_ID.
Please note that access was gained to the management platform of this device. The log entry is:
>>> 13:09:03 user $user logged in from $ipLocal via winbox <<<
If this was you, you may safely ignore this email. If it was not you, or an authorised user, please take urgent steps to secure the device.