diff --git a/config.js b/config.js index 58b9711..56fdd5c 100644 --- a/config.js +++ b/config.js @@ -74,6 +74,13 @@ var config = { // testnet: 'https://test-insight.bitpay.com/tx/{{txid}}', // }, //}, + // + // To use sendgrid: + // var sgTransport = require('nodemail-sendgrid-transport'); + // mailer:sgTransport({ + // api_user: xxx, + // api_key: xxx, + // }); }; module.exports = config; diff --git a/package.json b/package.json index b08574e..1a8d368 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,7 @@ "morgan": "*", "mustache": "^2.1.0", "nodemailer": "^1.3.4", + "nodemailer-sendgrid-transport": "^0.2.0", "npmlog": "^0.1.1", "preconditions": "^1.0.7", "read": "^1.0.5", @@ -65,14 +66,18 @@ "coveralls": "./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage" }, "bitcoreNode": "./bitcorenode", - "contributors": [{ - "name": "Braydon Fuller", - "email": "braydon@bitpay.com" - }, { - "name": "Ivan Socolsky", - "email": "ivan@bitpay.com" - }, { - "name": "Matias Alejo Garcia", - "email": "ematiu@gmail.com" - }] + "contributors": [ + { + "name": "Braydon Fuller", + "email": "braydon@bitpay.com" + }, + { + "name": "Ivan Socolsky", + "email": "ivan@bitpay.com" + }, + { + "name": "Matias Alejo Garcia", + "email": "ematiu@gmail.com" + } + ] }