Monday, October 5, 2020

Netwatch Email Script

Mikrotk script, that we can use to simplify our administering task. At mikrotik, it is possible automatic command execution using script. Such as, send an email or sms to administrator for any critical situation, automatically enable or disable route for any unexpected situation and many more.

In this tutorial, we will discuss about script for sending an email that we can use at various situation.

The script for send email:-

tool e-mail send from="your_Email_Address" server=Your_imap_server user=your_user password=your_password subject="your_notification_message" to="recepient_address"

For example:-

tool e-mail send from="script@gmail.com" server=imap.gmail.com user=user_name password=your_password subject="link down" to="12345678"


No comments:

Post a Comment