I make email setting in tool by follow
server : 74.125.68.108
port : 587
Start TLS : Yes
from
user piyaservice@gmail.com
pass xxxx
after that I use this command
/tool e-mail send to=piyaservice@gmail.com subject=“test” body=“test”
Problem
I have problem error sending e-mail (test) : AUTH failed
It is about gmail secure authentication. You should go to My Account in gmail, sign-in & security and allow Winbox application to send email by external App.
Hey everyone,
I have such problem, but can’t find allow Winbox application to send email by external App in my google account sorry.
Can anyone help me.
Can I deploy on a non gmail to another mail hosting for example yahoo or microsoft?
Thank’s for advance.
Google by default uses Oauth2.0 that currently is not supported by the RouterOS. You have to allow less secure authentication method to send e-mails from the router running RouterOS using Google servers.
Note that if you use 2 factor authentication in your Google account, the option for “Use less secure apps” is not available. As I have several G-Mail accounts, some with 2FA and some without 2FA, I am using one of my G-Mail accounts that does not use 2FA for sending mail from my MikroTik routers. This was recently discussed in another topic on the forum.