I'm trying to configure Gmail smtp on RouterOS. I generated the application password in the account but it still didn't work. I made the two configurations below:
Test 1:
/tool e-mail
set address=smtp.gmail.com
set port=465
set tls=yes
set from=myuser@gmail.com
set user=myuser
set password=mypassword
/tool e-mail send to=myuser@gmail.com subject="email test" body="email test"
Test 2:
/tool e-mail
set address=smtp.gmail.com
set port=587
set from=myuser@gmail.com
set user=myuser
set password=mypassword
/tool e-mail send to=myuser@gmail.com subject="email test" body="email test" start-tls=yes
As I was only testing the source and destination email is the same. As I said before, neither test worked. Does Gmail still work for notifications and backup?
Links used:
https://stackoverflow.com/questions/615 ... l-mikrotik
https://help.mikrotik.com/docs/display/ROS/E-mail
https://wiki.mikrotik.com/wiki/Manual:Tools/email