{"action":"created","issue":{"url":"https://api.github.com/repos/balderdashy/sails-hook-email/issues/13","labels_url":"https://api.github.com/repos/balderdashy/sails-hook-email/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/balderdashy/sails-hook-email/issues/13/comments","events_url":"https://api.github.com/repos/balderdashy/sails-hook-email/issues/13/events","html_url":"https://github.com/balderdashy/sails-hook-email/pull/13","id":88602075,"number":13,"title":"Upgraded Nodemailer, added new options, moved to Sails View Engine","user":{"login":"dapriett","id":4422908,"avatar_url":"https://avatars.githubusercontent.com/u/4422908?v=3","gravatar_id":"","url":"https://api.github.com/users/dapriett","html_url":"https://github.com/dapriett","followers_url":"https://api.github.com/users/dapriett/followers","following_url":"https://api.github.com/users/dapriett/following{/other_user}","gists_url":"https://api.github.com/users/dapriett/gists{/gist_id}","starred_url":"https://api.github.com/users/dapriett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dapriett/subscriptions","organizations_url":"https://api.github.com/users/dapriett/orgs","repos_url":"https://api.github.com/users/dapriett/repos","events_url":"https://api.github.com/users/dapriett/events{/privacy}","received_events_url":"https://api.github.com/users/dapriett/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-06-16T03:19:26Z","updated_at":"2015-06-17T01:54:05Z","closed_at":"2015-06-16T18:54:36Z","pull_request":{"url":"https://api.github.com/repos/balderdashy/sails-hook-email/pulls/13","html_url":"https://github.com/balderdashy/sails-hook-email/pull/13","diff_url":"https://github.com/balderdashy/sails-hook-email/pull/13.diff","patch_url":"https://github.com/balderdashy/sails-hook-email/pull/13.patch"},"body":"I made the following changes to sails-hook-email:\r\n\r\n- Upgraded to `nodemailer 1.3.4`\r\n- Added a `global` option for creating a global method for sending mail\r\n- Added a `transporter` option to allow passing your own custom transporter directly to nodemailer.createTransport\r\n- Changed template rendering to use the built in sails.hooks.views.render method to get the benefit of allowing other template engines"},"comment":{"url":"https://api.github.com/repos/balderdashy/sails-hook-email/issues/comments/112622042","html_url":"https://github.com/balderdashy/sails-hook-email/pull/13#issuecomment-112622042","issue_url":"https://api.github.com/repos/balderdashy/sails-hook-email/issues/13","id":112622042,"user":{"login":"dapriett","id":4422908,"avatar_url":"https://avatars.githubusercontent.com/u/4422908?v=3","gravatar_id":"","url":"https://api.github.com/users/dapriett","html_url":"https://github.com/dapriett","followers_url":"https://api.github.com/users/dapriett/followers","following_url":"https://api.github.com/users/dapriett/following{/other_user}","gists_url":"https://api.github.com/users/dapriett/gists{/gist_id}","starred_url":"https://api.github.com/users/dapriett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dapriett/subscriptions","organizations_url":"https://api.github.com/users/dapriett/orgs","repos_url":"https://api.github.com/users/dapriett/repos","events_url":"https://api.github.com/users/dapriett/events{/privacy}","received_events_url":"https://api.github.com/users/dapriett/received_events","type":"User","site_admin":false},"created_at":"2015-06-17T01:54:05Z","updated_at":"2015-06-17T01:54:05Z","body":"I rebased and created a new pull request: https://github.com/balderdashy/sails-hook-email/pull/15 with the following improvements\r\n\r\n- Added a transporter option to allow passing your own custom transporter directly to nodemailer.createTransport\r\n- If using service/auth params, wrap with the smtp-pool-transport\r\n- Changed template rendering to use the built in sails.hooks.views.render method to get the benefit of allowing other template engines as well as layouts. If Sails View hook is disabled, fallback to ejs template engine\r\n- Added nodemailer-html-to-text plugin to allow auto generate of mail text from html if not provided.\r\n- Updated docs"}}