Community discussions

MikroTik App
 
David1234
Forum Guru
Forum Guru
Topic Author
Posts: 1424
Joined: Sun Sep 18, 2011 7:00 pm

unable to send mail using gmail (auth failed)?

Sun Oct 10, 2021 10:53 am

does someone know if Google\Gmail change something ?
I just notice I can't send E-mail in the last 2 months
I get
Error sending e-mail <test>: AUTH failed
and in the gmail it said "Critical security error "
what do I need to change and where ?
** the password is correct
/tool e-mail
set address=smtp.gmail.com from=Myroutertest12@gmail.com password=******** port=587 start-tls=yes user=Myroutertest12
Thanks ,
 
holvoetn
Forum Guru
Forum Guru
Posts: 5405
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: unable to send mail using gmail (auth failed)?

Sun Oct 10, 2021 11:51 am

Have you enabled sending of email through less secure applications on your gmail account ?
https://myaccount.google.com/lesssecureapps

Be careful, this does NOT work if your Gmail account has 2-factor enabled.
I use a separate gmail account for this sending of mails 1) to keep it out of my primary account, 2) my primary account has 2-factor enabled.
 
User avatar
Larsa
Forum Guru
Forum Guru
Posts: 1041
Joined: Sat Aug 29, 2015 7:40 pm
Location: The North Pole, Santa's Workshop

Re: unable to send mail using gmail (auth failed)?

Sun Oct 10, 2021 12:49 pm

You can still use the 2-Step-Verification if you create a specific gmail app password. https://support.google.com/accounts/answer/185833?hl=en
 
holvoetn
Forum Guru
Forum Guru
Posts: 5405
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: unable to send mail using gmail (auth failed)?

Sun Oct 10, 2021 1:11 pm

You can still use the 2-Step-Verification if you create a specific gmail app password. https://support.google.com/accounts/answer/185833?hl=en
Right ! Missed that one ... still keeping the accounts separate, though :)
 
David1234
Forum Guru
Forum Guru
Topic Author
Posts: 1424
Joined: Sun Sep 18, 2011 7:00 pm

Re: unable to send mail using gmail (auth failed)?

Mon Oct 11, 2021 9:48 am

this is just a router gmail account for sending data

I didn't know I can make a
You can still use the 2-Step-Verification if you create a specific gmail app password. https://support.google.com/accounts/answer/185833?hl=en
i will try it

Thanks ,
 
r00t
Long time Member
Long time Member
Posts: 672
Joined: Tue Nov 28, 2017 2:14 am

Re: unable to send mail using gmail (auth failed)?

Tue Jun 28, 2022 3:05 pm

No, it's not possible to auth to google using user and password. They removed this option and "Less secure access" was forcefully turned OFF by google last month on regular accounts.
Another reason not to have email handled by google...
 
User avatar
Znevna
Forum Guru
Forum Guru
Posts: 1347
Joined: Mon Sep 23, 2019 1:04 pm

Re: unable to send mail using gmail (auth failed)?

Tue Jun 28, 2022 4:40 pm

You can use app passwords.

Who is online

Users browsing this forum: Amazon [Bot], Bing [Bot], NetHorror, TheCat12 and 74 guests