{"action":"created","issue":{"url":"https://api.github.com/repos/influxdata/kapacitor/issues/660","repository_url":"https://api.github.com/repos/influxdata/kapacitor","labels_url":"https://api.github.com/repos/influxdata/kapacitor/issues/660/labels{/name}","comments_url":"https://api.github.com/repos/influxdata/kapacitor/issues/660/comments","events_url":"https://api.github.com/repos/influxdata/kapacitor/issues/660/events","html_url":"https://github.com/influxdata/kapacitor/issues/660","id":161373464,"number":660,"title":"Alerts don't work via email.","user":{"login":"eran-totango","id":17027773,"avatar_url":"https://avatars.githubusercontent.com/u/17027773?v=3","gravatar_id":"","url":"https://api.github.com/users/eran-totango","html_url":"https://github.com/eran-totango","followers_url":"https://api.github.com/users/eran-totango/followers","following_url":"https://api.github.com/users/eran-totango/following{/other_user}","gists_url":"https://api.github.com/users/eran-totango/gists{/gist_id}","starred_url":"https://api.github.com/users/eran-totango/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eran-totango/subscriptions","organizations_url":"https://api.github.com/users/eran-totango/orgs","repos_url":"https://api.github.com/users/eran-totango/repos","events_url":"https://api.github.com/users/eran-totango/events{/privacy}","received_events_url":"https://api.github.com/users/eran-totango/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-06-21T08:10:29Z","updated_at":"2016-08-24T21:04:37Z","closed_at":"2016-07-06T16:40:47Z","body":"Hi, \r\nI'm trying to configure alerts that will be sent via email, and it doesn't seem to work.\r\nI'm using Kapacitor 0.13V.\r\n\r\nmy smtp configuration : \r\n[smtp]\r\n  enabled = true\r\n  host = \"localhost\"\r\n  port = 25\r\n  username = \"\"\r\n  password = \"\"\r\n  from = \"kapacitor@foobar.com\"\r\n  to = [\"foobar@foobar.com\"]\r\n  # Skip TLS certificate verify when connecting to SMTP server\r\n  no-verify = false\r\n  # Close idle connections after timeout\r\n  idle-timeout = \"30s\"\r\n\r\nthe relevant section in my TICK script : \r\n|alert()\r\n    .crit(lambda: \"percentile\" > 16)\r\n    .log('/mnt/kapacitor/alerts-logs/spark-alerts.log')\r\n    .mode(0644)\r\n    .slack()\r\n    .channel('#kapacitor-tests')\r\n    .email()\r\n\r\ni see the that the postfix process is working in port 25, but i couldn't find any relevant postfix logs.\r\ni tried to look at the kapacitor logs in the same time the alert is triggered but found nothing.\r\n(the alert is successfully sent to slack, but i don't get the email).\r\n\r\nanother problem : \r\nIf i try to define a specific email address in the tick script with this syntax : \r\n.email().to('foobar@foobar.com')\r\nit says : invalid TICKscript: line 21 char 14: no method or property \"to\" on *pipeline.EmailHandler\r\n\r\nThanks for your help."},"comment":{"url":"https://api.github.com/repos/influxdata/kapacitor/issues/comments/242207570","html_url":"https://github.com/influxdata/kapacitor/issues/660#issuecomment-242207570","issue_url":"https://api.github.com/repos/influxdata/kapacitor/issues/660","id":242207570,"user":{"login":"manojgour","id":16679352,"avatar_url":"https://avatars.githubusercontent.com/u/16679352?v=3","gravatar_id":"","url":"https://api.github.com/users/manojgour","html_url":"https://github.com/manojgour","followers_url":"https://api.github.com/users/manojgour/followers","following_url":"https://api.github.com/users/manojgour/following{/other_user}","gists_url":"https://api.github.com/users/manojgour/gists{/gist_id}","starred_url":"https://api.github.com/users/manojgour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manojgour/subscriptions","organizations_url":"https://api.github.com/users/manojgour/orgs","repos_url":"https://api.github.com/users/manojgour/repos","events_url":"https://api.github.com/users/manojgour/events{/privacy}","received_events_url":"https://api.github.com/users/manojgour/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T21:04:37Z","updated_at":"2016-08-24T21:04:37Z","body":"Great this worked. Thanks!"}}
{"actor":{"display_login":"manojgour"}}