I am struggling with this one. I did set up the router with two ISPs, the failover working just fine. But when ISP1 or ISP2 is up or down - want to know that, so I choose the script with e-mail notification. When there`s a situation - the log file says “WAN1 is down” and the next row is red and said : not-allowed by device mode (tool/e-mail/send; line 1).
When input /system/device-mode/print in terminal, here`s what I get:
mode: home
allowed-versions: 7.13+,6.49.8+
flagged: no
flagging-enabled: yes
scheduler: no
socks: no
fetch: no
pptp: yes
l2tp: yes
bandwidth-test: no
traffic-gen: no
sniffer: no
ipsec: yes
romon: no
proxy: no
hotspot: no
smb: yes
email: no
zerotier: no
container: no
install-any-version: no
partitions: no
routerboard: no
attempt-count: 0
I suppose the bolded one is the reason why the router cannot send the e-mail. Is it true, that this model just do not support this option at all, or I just messed the things up? I did update with 7.20.4 today.
Thanks in advance.
p.s. the same script runs just fine in my older Mikrotik RB951Ui-2HnD router.
This is the right and full syntax, paste this on terminal and (press mode) or (pres reset) or (remove the power without shutdown) within 1 day.
Do not simply reboot, is useless.