Can't send Email from Watcher in Elastic Cloud

alerting

(Nick Fisher) #1

I have a simple watcher setup in Elastic Cloud, with a deployment using version 5.6.10. I've tested it with other notification actions (logging and Slack) and they work fine, however I keep getting an error from the Email action when I test it in the simulator:

"last_execution": {
      "timestamp": "2018-09-12T17:08:23.203Z",
      "successful": false,
      "reason": "MessagingException[failed to send email with subject [This is a test] via account [work]]; nested: SendFailedException[Invalid Addresses]; nested: SMTPAddressFailedException[554 5.7.1 <nick.fisher@ncr.com>: Recipient address rejected: Access denied\n]; "
    }

This is the email action I have configured:

"send-email": {
  "email": {
      "to": "nick.fisher@ncr.com",
      "subject": "This is a test",
      "body": "This is a test"
  }

Am I missing something in my config?


(Alexander Reelsen) #2

Hey,

have you seen this link in the elastic cloud docs? That might explain what you are seeing and how to fix the problem https://www.elastic.co/guide/en/cloud/saas-release/ec-watcher.html

--Alex


(Nick Fisher) #3

I had not found that part of the documentation. That was my problem, thanks for the help!


(system) #4

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