How to resolve ‘530 5.7.0 Must issue a STARTTLS command first. o63-v6sm4041934ywc.36 - gsmtp\n’ for elasticsearch?
It's solved now, all I need to do is enable TLS authentication.
Here is my updated content of elasticsearch.yml:
xpack.security.enabled: false xpack.notification.email.account: standard_account: profile: standard smtp: auth: true starttls.enable: true starttls.required: true host: smtp.gmail.com port: 587 user: <mailId> password: <passowrd>