Community discussions

MikroTik App
 
JBrinkZA
just joined
Topic Author
Posts: 6
Joined: Sun Jun 05, 2016 10:24 am
Location: Cape Town, ZA
Contact:

Markup in Email Script

Wed Apr 25, 2018 2:25 pm

Hi All,

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:
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.
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?

Who is online

Users browsing this forum: Jonty and 35 guests