Friends, I want to configure TOOLS / EMAIL, so that my RB can send me an email with what I ask, can someone help me? My email is enkas012016@gmail.com, I appreciate any information.
Here are my email settings, they work for me.
/tool e-mail
set address=ISP-email-server_IP from=myemail@address.com port=465 start-tls=
tls-only user=myemail@address.com
Sample log settings, after adding email as a ‘TYPE’ and naming it phonehome.
/system logging
add action=PhoneHome disabled=no prefix=“” topics=critical
add action=PhoneHome disabled=no prefix=“interface, info” topics=interface,info
add action=PhoneHome disabled=no prefix=“” topics=warning
I also use this email tool in my dhcp script.
:if ($bound=1) do={
:local iface $interface
:local gw [ /ip dhcp-client get [ find interface=$“iface” ] gateway ]
/ip route set [ find comment=“PrimaryRecursive” gateway!=$gw ] gateway=$gw
/ip route set [ find comment=“SecondaryRecursive” gateway!=$gw ] gateway=$gw
/tool e-mail send to=“myemail@address.com” subject=([/system identity
get name]) body=" This is your new gateway IP: $gw";
}
Sample log settings, after adding email as a ‘TYPE’ and naming it phonehome.
/system logging
add action=PhoneHome disabled=no prefix=“” topics=critical
add action=PhoneHome disabled=no prefix=“interface, info” topics=interface,info
add action=PhoneHome disabled=no prefix=“” topics=warning
Dear ANAV, how do I configure this in my RB, if you can help me this is my email: enkas_01@hotmail.com