Tool Email setup/troubleshooting
Setup and troubleshooting RouterOS email function
Insure you have the basic router setup complete. Ip address, default route, and DNS. NTP recommended.
Go to "/system logging".
add topic=e-mail action=memory
Go to "/tool e-mail".
Enter the email server ip. If your email service allows you to send email with a username and password, you may use the email server ip provided by your ISP. If not, use the ip of the email server that handles the domain for the destination email address. No user or password entered for this.
Enter the "from" address. This must be a valid format and domain. Insure you enter this "from" address in your address book or friends list in your email reader and provider, or it could be mistaken for spam.
Enter a username and password only if the email server requires it. If you are using the destination email address email server, leave the user and password blank
Try a test email.
send to=you@yourdomain.com subject="test" body="test"
or
send to=you@yourdomain.com subject="test" body="test" tls=yes
ir your email server requires a secure connection
Check "/system log" for the result.
If you need to check the connection to the email server from the router:
/tool telnet xx.xx.xx.xx 25
and the server should respond with
220 server.domain.com ESMTP xxxxxxxxxx
Type 'quit' to terminate the telnet connection from the email server.