Can't send message through SMTP
Hi, I can't send mail using SMTP!!
This is my configuration (Java Spring Mail):
mail:
host: smtp.zoho.com
port: 587
user: contato@cervejeirosapp.com.br
password: ********
protocol: smtp
tls: true
auth: true
from: contato@cervejeirosapp.com.br
I'm getting this error:
Attempt to authenticate using mechanisms: LOGIN PLAIN DIGEST-MD5 NTLM
[WARN] com.cervejeiros.service.MailService - E-mail could not be sent to user 'brevleq@gmail.com', exception is: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535 Authentication Failed
The password and user is correct and I didn't enabled two factor authentication.
What could be?