Hi,
I have configured watcher related alerts. Sending the watcher alert emails from a "support.test@domain.com". Below is the action template I have used in watcher
"actions": {
"send_email": {
"email": {
"profile": "standard",
"from": "support.test@domain.com",
"to": [
"test.test2@domain.com"
],
"subject": "Watcher alert email",
"body": {
"text": "{{ctx.payload.filtered}}"
}
}
}
}
Initially I am able to see the emails are sent to "test.test2@domain.com" email. But, don't know the reason why it stopped.
When checked in the Execution History tab I able to see the email action is failing with error "Could not connect to SMTP host: dockerhost, port: 10025"
"actions": [
{
"id": "send_email",
"type": "email",
"status": "failure",
"error": {
"root_cause": [
{
"type": "messaging_exception",
"reason": "failed to send email with subject [Watcher alert email] via account [work]"
}
],
"type": "messaging_exception",
"reason": "failed to send email with subject [Watcher alert email] via account [work]",
"caused_by": {
"type": "messaging_exception",
"reason": "Could not connect to SMTP host: dockerhost, port: 10025, response: -1"
}
}
}
]
}
Please let me know how to fix this. Thanks in advance
Regards,
Keyu