Can not send alert via gmail(already disable 2FA)

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 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 q128-v6sm724693pfb.160 - gsmtp

My elasticsearch.yml :
// bootstrap.memory_lock: false elasticsearch
http.port: 9200 true
node.ingest: true
node.master: true
node.max_local_storage_nodes: 1 DESKTOP-JO30UQR C:\ProgramData\Elastic\Elasticsearch\data
path.logs: C:\ProgramData\Elastic\Elasticsearch\logs
transport.tcp.port: 9300
xpack.license.self_generated.type: basic false
profile: gmail
auth: true
starttls.enable: true
port: 587
password: HDUSDWUWS*

Pls check if you have enabled access to the less secure apps.

Yes, I already done it, too. But the alert still can't send.

Senthil kumar mohan 於 2018年10月29日 週一 12:57 寫道:

I think it makes sense to remove watcher from the equation and check if you can send email via the google mail API manually. The exception still states that there is an authentication error against google mail, which very unlikely stems from watcher.


Could you please teach me how to send

email via the google mail API manually?

Thank you very much!

Alexander Reelsen 於 2018年10月29日 週一 18:07 寫道:

Suddenly it OK without doing anything

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.