Hi all,
I have a problem while sending e-mail alerts.
my elasticsearch.yml file configuration:
xpack.notification.email.account:
gmail_account:
profile: gmail
smtp:
auth: true
starttls.enable: true
host: smtp.gmail.com
port: 587
user: ******@gmail.com
password: ******
My watcher rule:
“actions”: {
“send_email”: {
“email”: {
“profile”: “standard”,
“to”: [
"ademsim@gmail.com"
],
“subject”: “Watcher Notification”,
“body”: {
“text”: “Test”
}
}
}
And error:
Execution Failing
“reason”: "MessagingException[failed to send email with subject [Watcher Notification] via account [gmail_account]]; nested: MessagingException[Exception reading response]; nested: SocketTimeoutException[Read timed out]; "
Could anyone help me for this case.