{"action":"created","issue":{"url":"https://api.github.com/repos/mbouclas/loopback-connector-mailgun/issues/6","repository_url":"https://api.github.com/repos/mbouclas/loopback-connector-mailgun","labels_url":"https://api.github.com/repos/mbouclas/loopback-connector-mailgun/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/mbouclas/loopback-connector-mailgun/issues/6/comments","events_url":"https://api.github.com/repos/mbouclas/loopback-connector-mailgun/issues/6/events","html_url":"https://github.com/mbouclas/loopback-connector-mailgun/issues/6","id":260275272,"number":6,"title":"BCC not supported?","user":{"login":"denkan","id":2395705,"avatar_url":"https://avatars0.githubusercontent.com/u/2395705?v=4","gravatar_id":"","url":"https://api.github.com/users/denkan","html_url":"https://github.com/denkan","followers_url":"https://api.github.com/users/denkan/followers","following_url":"https://api.github.com/users/denkan/following{/other_user}","gists_url":"https://api.github.com/users/denkan/gists{/gist_id}","starred_url":"https://api.github.com/users/denkan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denkan/subscriptions","organizations_url":"https://api.github.com/users/denkan/orgs","repos_url":"https://api.github.com/users/denkan/repos","events_url":"https://api.github.com/users/denkan/events{/privacy}","received_events_url":"https://api.github.com/users/denkan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-09-25T13:24:04Z","updated_at":"2017-09-25T14:21:59Z","closed_at":null,"author_association":"NONE","body":"Using your connector - nice work!\r\n\r\nBut I am having trouble getting bcc to send. \r\n\r\nSnippet:\r\n```\r\n      const message = {\r\n        to: EMAIL_CONFIG.to,\r\n        bcc: post.emailSendCopyTo,\r\n        from: EMAIL_CONFIG.from,\r\n        subject: EMAIL_CONFIG.subject,\r\n        html: letter.getLetterAsHtml()\r\n      };\r\n      \r\n      EMAIL.send(message)\r\n      .then((response) => console.log('response',response))\r\n      .catch((err) => console.log('error',err))\r\n```\r\n\r\nIs the `bcc` property not supported?"},"comment":{"url":"https://api.github.com/repos/mbouclas/loopback-connector-mailgun/issues/comments/331896955","html_url":"https://github.com/mbouclas/loopback-connector-mailgun/issues/6#issuecomment-331896955","issue_url":"https://api.github.com/repos/mbouclas/loopback-connector-mailgun/issues/6","id":331896955,"user":{"login":"denkan","id":2395705,"avatar_url":"https://avatars0.githubusercontent.com/u/2395705?v=4","gravatar_id":"","url":"https://api.github.com/users/denkan","html_url":"https://github.com/denkan","followers_url":"https://api.github.com/users/denkan/followers","following_url":"https://api.github.com/users/denkan/following{/other_user}","gists_url":"https://api.github.com/users/denkan/gists{/gist_id}","starred_url":"https://api.github.com/users/denkan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denkan/subscriptions","organizations_url":"https://api.github.com/users/denkan/orgs","repos_url":"https://api.github.com/users/denkan/repos","events_url":"https://api.github.com/users/denkan/events{/privacy}","received_events_url":"https://api.github.com/users/denkan/received_events","type":"User","site_admin":false},"created_at":"2017-09-25T14:21:59Z","updated_at":"2017-09-25T14:21:59Z","author_association":"NONE","body":"Thanks for quick response/action.\r\n\r\nBut the changes might have broken the api: \r\nI'm getting `{\"message\":\"'cc' parameter is not a valid address. please check documentation\"}` as response from mailgun - meaning, Mailgun consume the parameter even if its set to null?\r\n\r\nChange line 100-101 to:\r\n```\r\n        if(options.cc) {\r\n                mailgunMessage.cc = options.cc;\r\n        }\r\n        if(options.bcc) {\r\n                mailgunMessage.bcc = options.bcc;\r\n        }\r\n```\r\n?"}}
{"actor":{"display_login":"denkan"}}