hello anyone can tell me or help what is wrong I will not my script.
Use Scrip Mikrotik V6.17
My Scrip
/system scheduler
:if ([/ping 192.168.20.28 count=4]=0) do={
:log info \ "Ping down"
:global ip [:resolve "smtp.gmail.com"];
/tool e-mail send to=myemail@gmail.com subject= "Not Working IP" from=myemail@gmail.com start-tls=yes server="$ip" body="Not working check IP http://192.168.20.28/"
:log info "send Email Finish"
}
Thanks very Much