gbudny93.RouterOS_Useful_Sc.../RouterOS_Log_To_Alert.rsc

22 lines
400 B
Text
Raw Normal View History

2019-07-10 12:33:20 +02:00
:global SendEmail do={
:local smtpServer #smtp server IP
:local smtpPort #smtp port
:local from #sender email
:local to #recipeints email
:local cc #cc email
:local subject #email subject
:local body #email body
:log info "..::Sending email notification::..";
tool e-mail send server=$smtpServer port=$smtpPort from=$from to=$to cc=$cc subject=$subject body=$body;
}
#Here script starts
2019-04-29 11:13:07 +02:00