{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/31688","repository_url":"https://api.github.com/repos/saltstack/salt","labels_url":"https://api.github.com/repos/saltstack/salt/issues/31688/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/31688/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/31688/events","html_url":"https://github.com/saltstack/salt/pull/31688","id":138608391,"number":31688,"title":"Various SMTP returner fixes","user":{"login":"whiteinge","id":91293,"avatar_url":"https://avatars.githubusercontent.com/u/91293?v=3","gravatar_id":"","url":"https://api.github.com/users/whiteinge","html_url":"https://github.com/whiteinge","followers_url":"https://api.github.com/users/whiteinge/followers","following_url":"https://api.github.com/users/whiteinge/following{/other_user}","gists_url":"https://api.github.com/users/whiteinge/gists{/gist_id}","starred_url":"https://api.github.com/users/whiteinge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whiteinge/subscriptions","organizations_url":"https://api.github.com/users/whiteinge/orgs","repos_url":"https://api.github.com/users/whiteinge/repos","events_url":"https://api.github.com/users/whiteinge/events{/privacy}","received_events_url":"https://api.github.com/users/whiteinge/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-04T22:45:41Z","updated_at":"2016-03-08T22:27:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/saltstack/salt/pulls/31688","html_url":"https://github.com/saltstack/salt/pull/31688","diff_url":"https://github.com/saltstack/salt/pull/31688.diff","patch_url":"https://github.com/saltstack/salt/pull/31688.patch"},"body":"### What does this PR do?\r\n\r\nSMTP returner breakage.\r\n\r\n### What issues does this PR fix or reference?\r\n\r\nThe  `renderer` & `template` additions to the SMTP returner are not working with default settings. The resulting email was blank and the Subject line was `<StringIO object>`. Switching to only the 'jinja' renderer produces `<StringIO object>` for both the body and the subject.\r\n\r\n### Previous Behavior\r\n\r\nNot working with default settings.\r\n\r\n### New Behavior\r\n\r\nBackward-compatible fixes assuming the `renderer` & `template` additions were indeed broken as previously asserted.\r\n\r\n### Tests written?\r\n- [ ] Yes\r\n- [ ] No\r\n- [x] Not sure\r\n"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/193997757","html_url":"https://github.com/saltstack/salt/pull/31688#issuecomment-193997757","issue_url":"https://api.github.com/repos/saltstack/salt/issues/31688","id":193997757,"user":{"login":"rallytime","id":6547906,"avatar_url":"https://avatars.githubusercontent.com/u/6547906?v=3","gravatar_id":"","url":"https://api.github.com/users/rallytime","html_url":"https://github.com/rallytime","followers_url":"https://api.github.com/users/rallytime/followers","following_url":"https://api.github.com/users/rallytime/following{/other_user}","gists_url":"https://api.github.com/users/rallytime/gists{/gist_id}","starred_url":"https://api.github.com/users/rallytime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rallytime/subscriptions","organizations_url":"https://api.github.com/users/rallytime/orgs","repos_url":"https://api.github.com/users/rallytime/repos","events_url":"https://api.github.com/users/rallytime/events{/privacy}","received_events_url":"https://api.github.com/users/rallytime/received_events","type":"User","site_admin":false},"created_at":"2016-03-08T22:27:47Z","updated_at":"2016-03-08T22:27:47Z","body":"@jfindlay Can you take a look here when you get a moment?"}}