{"action":"created","issue":{"url":"https://api.github.com/repos/balderdashy/sails-hook-email/issues/24","labels_url":"https://api.github.com/repos/balderdashy/sails-hook-email/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/balderdashy/sails-hook-email/issues/24/comments","events_url":"https://api.github.com/repos/balderdashy/sails-hook-email/issues/24/events","html_url":"https://github.com/balderdashy/sails-hook-email/issues/24","id":120651359,"number":24,"title":"Recommended way to use nodemailer-dkim plug-in","user":{"login":"kpturner","id":308646,"avatar_url":"https://avatars.githubusercontent.com/u/308646?v=3","gravatar_id":"","url":"https://api.github.com/users/kpturner","html_url":"https://github.com/kpturner","followers_url":"https://api.github.com/users/kpturner/followers","following_url":"https://api.github.com/users/kpturner/following{/other_user}","gists_url":"https://api.github.com/users/kpturner/gists{/gist_id}","starred_url":"https://api.github.com/users/kpturner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kpturner/subscriptions","organizations_url":"https://api.github.com/users/kpturner/orgs","repos_url":"https://api.github.com/users/kpturner/repos","events_url":"https://api.github.com/users/kpturner/events{/privacy}","received_events_url":"https://api.github.com/users/kpturner/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-06T18:42:58Z","updated_at":"2015-12-06T19:33:29Z","closed_at":"2015-12-06T19:33:29Z","body":"Hi\r\n\r\nI use sails-hook-email successfully but I am getting some SPAM issues (especially with Hotmail) and want to make use of the nodemailer-dkim plugin.   However, I am struggling to find the best way to do this.\r\n\r\nI need to be able to tell the transporter to use the plug-in signer like so\r\n\r\n    transporter.use('stream', require('nodemailer-dkim').signer({\r\n      domainName: 'kreata.ee',\r\n      keySelector: 'test',\r\n      privateKey: fs.readFileSync('private.pem')\r\n    }));\r\n\r\nbut I don't get access transport object that sails-hook-email creates internally"},"comment":{"url":"https://api.github.com/repos/balderdashy/sails-hook-email/issues/comments/162339997","html_url":"https://github.com/balderdashy/sails-hook-email/issues/24#issuecomment-162339997","issue_url":"https://api.github.com/repos/balderdashy/sails-hook-email/issues/24","id":162339997,"user":{"login":"kpturner","id":308646,"avatar_url":"https://avatars.githubusercontent.com/u/308646?v=3","gravatar_id":"","url":"https://api.github.com/users/kpturner","html_url":"https://github.com/kpturner","followers_url":"https://api.github.com/users/kpturner/followers","following_url":"https://api.github.com/users/kpturner/following{/other_user}","gists_url":"https://api.github.com/users/kpturner/gists{/gist_id}","starred_url":"https://api.github.com/users/kpturner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kpturner/subscriptions","organizations_url":"https://api.github.com/users/kpturner/orgs","repos_url":"https://api.github.com/users/kpturner/repos","events_url":"https://api.github.com/users/kpturner/events{/privacy}","received_events_url":"https://api.github.com/users/kpturner/received_events","type":"User","site_admin":false},"created_at":"2015-12-06T19:33:29Z","updated_at":"2015-12-06T19:33:29Z","body":"Perfect - thanks"}}