Can not send alert via gmail(already disable 2FA)
I am sure my password and account is right! And I already disabled 2 factors authtications.
The log is
//at java.lang.Thread.run(Unknown Source) [?:1.8.0_181]
Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8 https://support.google.com/mail/?p=BadCredentials q128-v6sm724693pfb.160 - gsmtp
My elasticsearch.yml :
// bootstrap.memory_lock: false
cluster.name: elasticsearch
http.port: 9200
node.data: true
node.ingest: true
node.master: true
node.max_local_storage_nodes: 1
node.name: DESKTOP-JO30UQR
path.data: C:\ProgramData\Elastic\Elasticsearch\data
path.logs: C:\ProgramData\Elastic\Elasticsearch\logs
transport.tcp.port: 9300
xpack.license.self_generated.type: basic
xpack.security.enabled: false
xpack.notification.email.account:
gmail_account:
profile: gmail
smtp:
auth: true
starttls.enable: true
host: smtp.gmail.com
port: 587
user: sailorjupiterXXXXX@gmail.com
password: HDUSDWUWS*