{"_id":"smtp-connection","_rev":"42-62741a2d25309a0fe944d30cabbfab28","name":"smtp-connection","description":"Connect to SMTP servers","dist-tags":{"latest":"1.3.8","beta":"2.0.0-beta.3"},"versions":{"0.1.0":{"name":"smtp-connection","version":"0.1.0","description":"Connect to SMTP servers","main":"lib/smtp-connection.js","directories":{"test":"test"},"scripts":{"test":"grunt"},"repository":{"type":"git","url":"git://github.com/andris9/smtp-connection.git"},"keywords":["SMTP"],"author":{"name":"Andris Reinman"},"license":"MIT","bugs":{"url":"https://github.com/andris9/smtp-connection/issues"},"homepage":"https://github.com/andris9/smtp-connection","devDependencies":{"chai":"~1.8.1","grunt":"~0.4.1","grunt-contrib-jshint":"~0.8.0","grunt-mocha-test":"~0.10.0","sinon":"^1.9.0","simplesmtp":"^0.3.32"},"_id":"smtp-connection@0.1.0","dist":{"shasum":"12610aae06de3ef6f65c9170769daf307de25aab","tarball":"http://registry.npmjs.org/smtp-connection/-/smtp-connection-0.1.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"andris","email":"andris@node.ee"},"maintainers":[{"name":"andris","email":"andris@node.ee"}]},"0.1.1":{"name":"smtp-connection","version":"0.1.1","description":"Connect to SMTP servers","main":"lib/smtp-connection.js","directories":{"test":"test"},"scripts":{"test":"grunt"},"repository":{"type":"git","url":"git://github.com/andris9/smtp-connection.git"},"keywords":["SMTP"],"author":{"name":"Andris Reinman"},"license":"MIT","bugs":{"url":"https://github.com/andris9/smtp-connection/issues"},"homepage":"https://github.com/andris9/smtp-connection","devDependencies":{"chai":"~1.8.1","grunt":"~0.4.1","grunt-contrib-jshint":"~0.8.0","grunt-mocha-test":"~0.10.0","sinon":"^1.9.0","simplesmtp":"^0.3.32"},"_id":"smtp-connection@0.1.1","dist":{"shasum":"29901adb3f2895776d453b6ad38ec995b9ad551f","tarball":"http://registry.npmjs.org/smtp-connection/-/smtp-connection-0.1.1.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"andris","email":"andris@node.ee"},"maintainers":[{"name":"andris","email":"andris@node.ee"}]},"0.1.2":{"name":"smtp-connection","version":"0.1.2","description":"Connect to SMTP servers","main":"lib/smtp-connection.js","directories":{"test":"test"},"scripts":{"test":"grunt"},"repository":{"type":"git","url":"git://github.com/andris9/smtp-connection.git"},"keywords":["SMTP"],"author":{"name":"Andris Reinman"},"license":"MIT","bugs":{"url":"https://github.com/andris9/smtp-connection/issues"},"homepage":"https://github.com/andris9/smtp-connection","devDependencies":{"chai":"~1.8.1","grunt":"~0.4.1","grunt-contrib-jshint":"~0.8.0","grunt-mocha-test":"~0.10.0","sinon":"^1.9.0","simplesmtp":"^0.3.32"},"_id":"smtp-connection@0.1.2","dist":{"shasum":"0d1aeda2223f090a4257727411cadefa1e2cc791","tarball":"http://registry.npmjs.org/smtp-connection/-/smtp-connection-0.1.2.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"andris","email":"andris@node.ee"},"maintainers":[{"name":"andris","email":"andris@node.ee"}]},"0.1.3":{"name":"smtp-connection","version":"0.1.3","description":"Connect to SMTP servers","main":"lib/smtp-connection.js","directories":{"test":"test"},"scripts":{"test":"grunt"},"repository":{"type":"git","url":"git://github.com/andris9/smtp-connection.git"},"keywords":["SMTP"],"author":{"name":"Andris Reinman"},"license":"MIT","bugs":{"url":"https://github.com/andris9/smtp-connection/issues"},"homepage":"https://github.com/andris9/smtp-connection","devDependencies":{"chai":"~1.8.1","grunt":"~0.4.1","grunt-contrib-jshint":"~0.8.0","grunt-mocha-test":"~0.10.0","sinon":"^1.9.0","simplesmtp":"^0.3.32"},"_id":"smtp-connection@0.1.3","dist":{"shasum":"c69f5e7ae939dec92e4bd6f504e496919772b1fb","tarball":"http://registry.npmjs.org/smtp-connection/-/smtp-connection-0.1.3.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"andris","email":"andris@node.ee"},"maintainers":[{"name":"andris","email":"andris@node.ee"}]},"0.1.4":{"name":"smtp-connection","version":"0.1.4","description":"Connect to SMTP servers","main":"lib/smtp-connection.js","directories":{"test":"test"},"scripts":{"test":"grunt"},"repository":{"type":"git","url":"git://github.com/andris9/smtp-connection.git"},"keywords":["SMTP"],"author":{"name":"Andris Reinman"},"license":"MIT","bugs":{"url":"https://github.com/andris9/smtp-connection/issues"},"homepage":"https://github.com/andris9/smtp-connection","devDependencies":{"chai":"~1.8.1","grunt":"~0.4.1","grunt-contrib-jshint":"~0.8.0","grunt-mocha-test":"~0.10.0","sinon":"^1.9.0","simplesmtp":"^0.3.32"},"gitHead":"97913d74700d5443d214848da64b13c694a7dcf0","_id":"smtp-connection@0.1.4","_shasum":"23a7bd18a820bbfcdf09fae3d13eac2ba339835d","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"andris","email":"andris@node.ee"},"maintainers":[{"name":"andris","email":"andris@node.ee"}],"dist":{"shasum":"23a7bd18a820bbfcdf09fae3d13eac2ba339835d","tarball":"http://registry.npmjs.org/smtp-connection/-/smtp-connection-0.1.4.tgz"}},"0.1.5":{"name":"smtp-connection","version":"0.1.5","description":"Connect to SMTP servers","main":"lib/smtp-connection.js","directories":{"test":"test"},"scripts":{"test":"grunt"},"repository":{"type":"git","url":"git://github.com/andris9/smtp-connection.git"},"keywords":["SMTP"],"author":{"name":"Andris Reinman"},"license":"MIT","bugs":{"url":"https://github.com/andris9/smtp-connection/issues"},"homepage":"https://github.com/andris9/smtp-connection","devDependencies":{"chai":"~1.8.1","grunt":"~0.4.1","grunt-contrib-jshint":"~0.8.0","grunt-mocha-test":"~0.10.0","sinon":"^1.9.0","simplesmtp":"^0.3.32"},"gitHead":"b76a6d6a2c0e9e9cf68a0cb027794b9a539859f9","_id":"smtp-connection@0.1.5","_shasum":"a3b1093a0087f10ee35dc5890ac81e0b76776f00","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"andris","email":"andris@node.ee"},"maintainers":[{"name":"andris","email":"andris@node.ee"}],"dist":{"shasum":"a3b1093a0087f10ee35dc5890ac81e0b76776f00","tarball":"http://registry.npmjs.org/smtp-connection/-/smtp-connection-0.1.5.tgz"}},"0.1.6":{"name":"smtp-connection","version":"0.1.6","description":"Connect to SMTP servers","main":"src/smtp-connection.js","directories":{"test":"test"},"scripts":{"test":"grunt"},"repository":{"type":"git","url":"git://github.com/andris9/smtp-connection.git"},"keywords":["SMTP"],"author":{"name":"Andris Reinman"},"license":"MIT","bugs":{"url":"https://github.com/andris9/smtp-connection/issues"},"homepage":"https://github.com/andris9/smtp-connection","devDependencies":{"chai":"~1.8.1","grunt":"~0.4.1","grunt-contrib-jshint":"~0.8.0","grunt-mocha-test":"~0.10.0","simplesmtp":"^0.3.32","sinon":"^1.9.0","xoauth2":"^0.1.8"},"gitHead":"7856e23f4c1e503f5b620bf03247cf8bfa5a2d47","_id":"smtp-connection@0.1.6","_shasum":"75bd2b85087f8f7b7a9c39b95ff60017b2a4c53a","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"andris","email":"andris@node.ee"},"maintainers":[{"name":"andris","email":"andris@node.ee"}],"dist":{"shasum":"75bd2b85087f8f7b7a9c39b95ff60017b2a4c53a","tarball":"http://registry.npmjs.org/smtp-connection/-/smtp-connection-0.1.6.tgz"}},"0.1.7":{"name":"smtp-connection","version":"0.1.7","description":"Connect to SMTP servers","main":"src/smtp-connection.js","directories":{"test":"test"},"scripts":{"test":"grunt"},"repository":{"type":"git","url":"git://github.com/andris9/smtp-connection.git"},"keywords":["SMTP"],"author":{"name":"Andris Reinman"},"license":"MIT","bugs":{"url":"https://github.com/andris9/smtp-connection/issues"},"homepage":"https://github.com/andris9/smtp-connection","devDependencies":{"chai":"~1.8.1","grunt":"~0.4.1","grunt-contrib-jshint":"~0.8.0","grunt-mocha-test":"~0.10.0","simplesmtp":"^0.3.32","sinon":"^1.9.0","xoauth2":"^0.1.8"},"gitHead":"85639311910645cfce5519bfde7f2bf355881e55","_id":"smtp-connection@0.1.7","_shasum":"5de4680a8a4616198ace027279e9a86a9c9d792d","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"andris","email":"andris@node.ee"},"maintainers":[{"name":"andris","email":"andris@node.ee"}],"dist":{"shasum":"5de4680a8a4616198ace027279e9a86a9c9d792d","tarball":"http://registry.npmjs.org/smtp-connection/-/smtp-connection-0.1.7.tgz"}},"1.0.0":{"name":"smtp-connection","version":"1.0.0","description":"Connect to SMTP servers","main":"src/smtp-connection.js","directories":{"test":"test"},"scripts":{"test":"grunt"},"repository":{"type":"git","url":"git://github.com/andris9/smtp-connection.git"},"keywords":["SMTP"],"author":{"name":"Andris Reinman"},"license":"MIT","bugs":{"url":"https://github.com/andris9/smtp-connection/issues"},"homepage":"https://github.com/andris9/smtp-connection","devDependencies":{"chai":"~1.8.1","grunt":"~0.4.1","grunt-contrib-jshint":"~0.8.0","grunt-mocha-test":"~0.10.0","simplesmtp":"^0.3.32","sinon":"^1.9.0","xoauth2":"^0.1.8"},"gitHead":"b96870005179bcf2523b409d991dc2007930b923","_id":"smtp-connection@1.0.0","_shasum":"22b26c49b5bef8c20ca338fc4ac941246cd96c66","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"andris","email":"andris@node.ee"},"maintainers":[{"name":"andris","email":"andris@node.ee"}],"dist":{"shasum":"22b26c49b5bef8c20ca338fc4ac941246cd96c66","tarball":"http://registry.npmjs.org/smtp-connection/-/smtp-connection-1.0.0.tgz"}},"1.0.1":{"name":"smtp-connection","version":"1.0.1","description":"Connect to SMTP servers","main":"src/smtp-connection.js","directories":{"test":"test"},"scripts":{"test":"grunt"},"repository":{"type":"git","url":"git://github.com/andris9/smtp-connection.git"},"keywords":["SMTP"],"author":{"name":"Andris Reinman"},"license":"MIT","bugs":{"url":"https://github.com/andris9/smtp-connection/issues"},"homepage":"https://github.com/andris9/smtp-connection","devDependencies":{"chai":"^1.9.2","grunt":"^0.4.5","grunt-contrib-jshint":"^0.10.0","grunt-mocha-test":"^0.12.1","mocha":"^1.21.5","simplesmtp":"^0.3.33","sinon":"^1.10.3","xoauth2":"^1.0.0"},"gitHead":"ff1afa6aa9fed6d50341b73a71ce4a168a0f48ed","_id":"smtp-connection@1.0.1","_shasum":"2e765341d232f3ee5a14e5bb8fd2e87468578a6c","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"andris","email":"andris@node.ee"},"maintainers":[{"name":"andris","email":"andris@node.ee"}],"dist":{"shasum":"2e765341d232f3ee5a14e5bb8fd2e87468578a6c","tarball":"http://registry.npmjs.org/smtp-connection/-/smtp-connection-1.0.1.tgz"}},"1.0.2":{"name":"smtp-connection","version":"1.0.2","description":"Connect to SMTP servers","main":"src/smtp-connection.js","directories":{"test":"test"},"scripts":{"test":"grunt"},"repository":{"type":"git","url":"git://github.com/andris9/smtp-connection.git"},"keywords":["SMTP"],"author":{"name":"Andris Reinman"},"license":"MIT","bugs":{"url":"https://github.com/andris9/smtp-connection/issues"},"homepage":"https://github.com/andris9/smtp-connection","devDependencies":{"chai":"^1.9.2","grunt":"^0.4.5","grunt-contrib-jshint":"^0.10.0","grunt-mocha-test":"^0.12.1","mocha":"^1.21.5","simplesmtp":"^0.3.33","sinon":"^1.10.3","xoauth2":"^1.0.0"},"gitHead":"6fabafdbfbf6f566e9f8b71515632a44184a6f97","_id":"smtp-connection@1.0.2","_shasum":"1b7b179245b418d24f37eccecfa1b1f2e752d680","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"andris","email":"andris@node.ee"},"maintainers":[{"name":"andris","email":"andris@node.ee"}],"dist":{"shasum":"1b7b179245b418d24f37eccecfa1b1f2e752d680","tarball":"http://registry.npmjs.org/smtp-connection/-/smtp-connection-1.0.2.tgz"}},"1.1.0":{"name":"smtp-connection","version":"1.1.0","description":"Connect to SMTP servers","main":"src/smtp-connection.js","directories":{"test":"test"},"scripts":{"test":"grunt"},"repository":{"type":"git","url":"git://github.com/andris9/smtp-connection.git"},"keywords":["SMTP"],"author":{"name":"Andris Reinman"},"license":"MIT","bugs":{"url":"https://github.com/andris9/smtp-connection/issues"},"homepage":"https://github.com/andris9/smtp-connection","devDependencies":{"chai":"^1.9.2","grunt":"^0.4.5","grunt-contrib-jshint":"^0.10.0","grunt-mocha-test":"^0.12.1","mocha":"^1.21.5","simplesmtp":"^0.3.33","sinon":"^1.10.3","xoauth2":"^1.0.0"},"gitHead":"4e466f14dad0419ae1e5f6e4a9ed8d04a447d5d0","_id":"smtp-connection@1.1.0","_shasum":"38688174a97bade7040500bf9cd5cf831f4b40f8","_from":".","_npmVersion":"2.1.5","_nodeVersion":"0.10.33","_npmUser":{"name":"andris","email":"andris@kreata.ee"},"maintainers":[{"name":"andris","email":"andris@node.ee"}],"dist":{"shasum":"38688174a97bade7040500bf9cd5cf831f4b40f8","tarball":"http://registry.npmjs.org/smtp-connection/-/smtp-connection-1.1.0.tgz"}},"1.2.0":{"name":"smtp-connection","version":"1.2.0","description":"Connect to SMTP servers","main":"src/smtp-connection.js","directories":{"test":"test"},"scripts":{"test":"grunt"},"repository":{"type":"git","url":"git://github.com/andris9/smtp-connection.git"},"keywords":["SMTP"],"author":{"name":"Andris Reinman"},"license":"MIT","bugs":{"url":"https://github.com/andris9/smtp-connection/issues"},"homepage":"https://github.com/andris9/smtp-connection","devDependencies":{"chai":"^2.1.1","grunt":"^0.4.5","grunt-contrib-jshint":"^0.11.0","grunt-mocha-test":"^0.12.7","mocha":"^2.2.1","smtp-server":"^1.0.2","sinon":"^1.13.0","xoauth2":"^1.0.0"},"gitHead":"7ccd9e4fbab836a1710f6e37beef0371ea83e9a6","_id":"smtp-connection@1.2.0","_shasum":"04bf0bcfc4a7417a201595781d2439dddbf0cd19","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"andris","email":"andris@node.ee"},"maintainers":[{"name":"andris","email":"andris@node.ee"}],"dist":{"shasum":"04bf0bcfc4a7417a201595781d2439dddbf0cd19","tarball":"http://registry.npmjs.org/smtp-connection/-/smtp-connection-1.2.0.tgz"}},"1.3.0":{"name":"smtp-connection","version":"1.3.0","description":"Connect to SMTP servers","main":"src/smtp-connection.js","directories":{"test":"test"},"scripts":{"test":"grunt"},"repository":{"type":"git","url":"git://github.com/andris9/smtp-connection.git"},"keywords":["SMTP"],"author":{"name":"Andris Reinman"},"license":"MIT","bugs":{"url":"https://github.com/andris9/smtp-connection/issues"},"homepage":"https://github.com/andris9/smtp-connection","devDependencies":{"chai":"^3.0.0","grunt":"^0.4.5","grunt-contrib-jshint":"^0.11.2","grunt-mocha-test":"^0.12.7","mocha":"^2.2.5","smtp-server":"^1.4.0","sinon":"^1.15.4","xoauth2":"^1.0.0"},"gitHead":"ebae1afadc281cc27c3b3db7cbc87ad7f8d7d5c7","_id":"smtp-connection@1.3.0","_shasum":"dc5cfb551594a746dae003a98ea0e2bb8d5a7be6","_from":".","_npmVersion":"2.12.0","_nodeVersion":"0.12.2","_npmUser":{"name":"andris","email":"andris@kreata.ee"},"dist":{"shasum":"dc5cfb551594a746dae003a98ea0e2bb8d5a7be6","tarball":"http://registry.npmjs.org/smtp-connection/-/smtp-connection-1.3.0.tgz"},"maintainers":[{"name":"andris","email":"andris@node.ee"}]},"1.3.1":{"name":"smtp-connection","version":"1.3.1","description":"Connect to SMTP servers","main":"src/smtp-connection.js","directories":{"test":"test"},"scripts":{"test":"grunt"},"repository":{"type":"git","url":"git://github.com/andris9/smtp-connection.git"},"keywords":["SMTP"],"author":{"name":"Andris Reinman"},"license":"MIT","bugs":{"url":"https://github.com/andris9/smtp-connection/issues"},"homepage":"https://github.com/andris9/smtp-connection","devDependencies":{"chai":"^3.0.0","grunt":"^0.4.5","grunt-contrib-jshint":"^0.11.2","grunt-mocha-test":"^0.12.7","mocha":"^2.2.5","smtp-server":"^1.4.0","sinon":"^1.15.4","xoauth2":"^1.0.0"},"gitHead":"dc61a8666ea9f7ce8971c61e08f8b5f5c9522c4e","_id":"smtp-connection@1.3.1","_shasum":"bcef9d499b42d06b89d832dbca9bcb5a79b1a557","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"andris","email":"andris@kreata.ee"},"dist":{"shasum":"bcef9d499b42d06b89d832dbca9bcb5a79b1a557","tarball":"http://registry.npmjs.org/smtp-connection/-/smtp-connection-1.3.1.tgz"},"maintainers":[{"name":"andris","email":"andris@node.ee"}]},"1.3.2":{"name":"smtp-connection","version":"1.3.2","description":"Connect to SMTP servers","main":"src/smtp-connection.js","directories":{"test":"test"},"scripts":{"test":"grunt"},"repository":{"type":"git","url":"git://github.com/andris9/smtp-connection.git"},"keywords":["SMTP"],"author":{"name":"Andris Reinman"},"license":"MIT","bugs":{"url":"https://github.com/andris9/smtp-connection/issues"},"homepage":"https://github.com/andris9/smtp-connection","devDependencies":{"chai":"^3.4.1","grunt":"^0.4.5","grunt-contrib-jshint":"^0.11.3","grunt-mocha-test":"^0.12.7","mocha":"^2.3.4","smtp-server":"^1.7.1","sinon":"^1.17.2","xoauth2":"^1.1.0"},"gitHead":"2a1db843cd86789552d1ea1fb5502c10170e7f48","_id":"smtp-connection@1.3.2","_shasum":"adb6cd160c2748c88dfb8f04e2335ab1b83be030","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.0","_npmUser":{"name":"andris","email":"andris@kreata.ee"},"dist":{"shasum":"adb6cd160c2748c88dfb8f04e2335ab1b83be030","tarball":"http://registry.npmjs.org/smtp-connection/-/smtp-connection-1.3.2.tgz"},"maintainers":[{"name":"andris","email":"andris@node.ee"}]},"1.3.3":{"name":"smtp-connection","version":"1.3.3","description":"Connect to SMTP servers","main":"src/smtp-connection.js","directories":{"test":"test"},"scripts":{"test":"grunt"},"repository":{"type":"git","url":"git://github.com/andris9/smtp-connection.git"},"keywords":["SMTP"],"author":{"name":"Andris Reinman"},"license":"MIT","bugs":{"url":"https://github.com/andris9/smtp-connection/issues"},"homepage":"https://github.com/andris9/smtp-connection","devDependencies":{"chai":"^3.4.1","grunt":"^0.4.5","grunt-contrib-jshint":"^0.11.3","grunt-mocha-test":"^0.12.7","mocha":"^2.3.4","smtp-server":"^1.7.1","sinon":"^1.17.2","xoauth2":"^1.1.0"},"gitHead":"f309eb5149753168a53f4dfdd11731d9599276e7","_id":"smtp-connection@1.3.3","_shasum":"54b9bbc3a7524cd820267515746091d14604ed16","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.0","_npmUser":{"name":"andris","email":"andris@kreata.ee"},"dist":{"shasum":"54b9bbc3a7524cd820267515746091d14604ed16","tarball":"http://registry.npmjs.org/smtp-connection/-/smtp-connection-1.3.3.tgz"},"maintainers":[{"name":"andris","email":"andris@node.ee"}]},"1.3.4":{"name":"smtp-connection","version":"1.3.4","description":"Connect to SMTP servers","main":"src/smtp-connection.js","directories":{"test":"test"},"scripts":{"test":"grunt"},"repository":{"type":"git","url":"git://github.com/andris9/smtp-connection.git"},"keywords":["SMTP"],"author":{"name":"Andris Reinman"},"license":"MIT","bugs":{"url":"https://github.com/andris9/smtp-connection/issues"},"homepage":"https://github.com/andris9/smtp-connection","devDependencies":{"chai":"^3.4.1","grunt":"^0.4.5","grunt-contrib-jshint":"^0.11.3","grunt-mocha-test":"^0.12.7","mocha":"^2.3.4","smtp-server":"^1.7.1","sinon":"^1.17.2","xoauth2":"^1.1.0"},"dependencies":{"isemail":"^2.1.0"},"gitHead":"21590db277a9b14f4efa25e968fbd91dbaadee0e","_id":"smtp-connection@1.3.4","_shasum":"2e25b087dce0a766253d718e9d32d45581a29bb7","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.0","_npmUser":{"name":"andris","email":"andris@kreata.ee"},"dist":{"shasum":"2e25b087dce0a766253d718e9d32d45581a29bb7","tarball":"http://registry.npmjs.org/smtp-connection/-/smtp-connection-1.3.4.tgz"},"maintainers":[{"name":"andris","email":"andris@node.ee"}]},"1.3.5":{"name":"smtp-connection","version":"1.3.5","description":"Connect to SMTP servers","main":"src/smtp-connection.js","directories":{"test":"test"},"scripts":{"test":"grunt"},"repository":{"type":"git","url":"git://github.com/andris9/smtp-connection.git"},"keywords":["SMTP"],"author":{"name":"Andris Reinman"},"license":"MIT","bugs":{"url":"https://github.com/andris9/smtp-connection/issues"},"homepage":"https://github.com/andris9/smtp-connection","devDependencies":{"chai":"^3.4.1","grunt":"^0.4.5","grunt-contrib-jshint":"^0.11.3","grunt-mocha-test":"^0.12.7","mocha":"^2.3.4","smtp-server":"^1.7.1","sinon":"^1.17.2","xoauth2":"^1.1.0"},"dependencies":{"isemail":"^1.2.0"},"gitHead":"37d6428830eebfd636741b3034de02200fd4e8e7","_id":"smtp-connection@1.3.5","_shasum":"61f116bbbd73b76fd97c03a7009e66ac170c7f5e","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"andris","email":"andris@kreata.ee"},"dist":{"shasum":"61f116bbbd73b76fd97c03a7009e66ac170c7f5e","tarball":"http://registry.npmjs.org/smtp-connection/-/smtp-connection-1.3.5.tgz"},"maintainers":[{"name":"andris","email":"andris@node.ee"}]},"1.3.6":{"name":"smtp-connection","version":"1.3.6","description":"Connect to SMTP servers","main":"src/smtp-connection.js","directories":{"test":"test"},"scripts":{"test":"grunt"},"repository":{"type":"git","url":"git://github.com/andris9/smtp-connection.git"},"keywords":["SMTP"],"author":{"name":"Andris Reinman"},"license":"MIT","bugs":{"url":"https://github.com/andris9/smtp-connection/issues"},"homepage":"https://github.com/andris9/smtp-connection","devDependencies":{"chai":"^3.4.1","grunt":"^0.4.5","grunt-contrib-jshint":"^0.11.3","grunt-mocha-test":"^0.12.7","mocha":"^2.3.4","smtp-server":"^1.7.1","sinon":"^1.17.2","xoauth2":"^1.1.0"},"dependencies":{"isemail":"^1.2.0"},"gitHead":"7e57e91c29f462ce5a94c66403c82b91a5fed095","_id":"smtp-connection@1.3.6","_shasum":"d27192c08af9e52ae80e42507f562baca1e359eb","_from":".","_npmVersion":"3.4.0","_nodeVersion":"5.1.0","_npmUser":{"name":"andris","email":"andris@kreata.ee"},"dist":{"shasum":"d27192c08af9e52ae80e42507f562baca1e359eb","tarball":"http://registry.npmjs.org/smtp-connection/-/smtp-connection-1.3.6.tgz"},"maintainers":[{"name":"andris","email":"andris@node.ee"}]},"1.3.7":{"name":"smtp-connection","version":"1.3.7","description":"Connect to SMTP servers","main":"src/smtp-connection.js","directories":{"test":"test"},"scripts":{"test":"grunt"},"repository":{"type":"git","url":"git://github.com/andris9/smtp-connection.git"},"keywords":["SMTP"],"author":{"name":"Andris Reinman"},"license":"MIT","bugs":{"url":"https://github.com/andris9/smtp-connection/issues"},"homepage":"https://github.com/andris9/smtp-connection","devDependencies":{"chai":"^3.4.1","grunt":"^0.4.5","grunt-contrib-jshint":"^0.11.3","grunt-mocha-test":"^0.12.7","mocha":"^2.3.4","smtp-server":"^1.7.1","sinon":"^1.17.2","xoauth2":"^1.1.0"},"dependencies":{"isemail":"^1.2.0"},"gitHead":"b6972720869d508b4b1bfee0b3a6bd0f8fb8e8f5","_id":"smtp-connection@1.3.7","_shasum":"08d9f0565c9255c8dbbf731393fc083bf53e0d52","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"andris","email":"andris@kreata.ee"},"dist":{"shasum":"08d9f0565c9255c8dbbf731393fc083bf53e0d52","tarball":"http://registry.npmjs.org/smtp-connection/-/smtp-connection-1.3.7.tgz"},"maintainers":[{"name":"andris","email":"andris@node.ee"}]},"1.3.8":{"name":"smtp-connection","version":"1.3.8","description":"Connect to SMTP servers","main":"src/smtp-connection.js","directories":{"test":"test"},"scripts":{"test":"grunt"},"repository":{"type":"git","url":"git://github.com/andris9/smtp-connection.git"},"keywords":["SMTP"],"author":{"name":"Andris Reinman"},"license":"MIT","bugs":{"url":"https://github.com/andris9/smtp-connection/issues"},"homepage":"https://github.com/andris9/smtp-connection","devDependencies":{"chai":"^3.4.1","grunt":"^0.4.5","grunt-contrib-jshint":"^0.11.3","grunt-mocha-test":"^0.12.7","mocha":"^2.3.4","smtp-server":"^1.7.1","sinon":"^1.17.2","xoauth2":"^1.1.0"},"dependencies":{},"gitHead":"e4f8d186c90435e58147d022a5185db46c8255c2","_id":"smtp-connection@1.3.8","_shasum":"55832c2160cfb3086e1dcd87fd1c19fa61b7f536","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"andris","email":"andris@kreata.ee"},"dist":{"shasum":"55832c2160cfb3086e1dcd87fd1c19fa61b7f536","tarball":"http://registry.npmjs.org/smtp-connection/-/smtp-connection-1.3.8.tgz"},"maintainers":[{"name":"andris","email":"andris@node.ee"}]},"2.0.0-beta.0":{"name":"smtp-connection","version":"2.0.0-beta.0","description":"Connect to SMTP servers","main":"lib/smtp-connection.js","directories":{"test":"test"},"scripts":{"test":"grunt"},"repository":{"type":"git","url":"git://github.com/andris9/smtp-connection.git"},"keywords":["SMTP"],"author":{"name":"Andris Reinman"},"license":"MIT","bugs":{"url":"https://github.com/andris9/smtp-connection/issues"},"homepage":"https://github.com/andris9/smtp-connection","devDependencies":{"chai":"^3.4.1","grunt":"^0.4.5","grunt-eslint":"^17.3.1","grunt-mocha-test":"^0.12.7","mocha":"^2.3.4","smtp-server":"^1.7.1","sinon":"^1.17.2","xoauth2":"^1.1.0"},"dependencies":{},"gitHead":"fea7fa0ce0c9f710cc562404260520f709a4f805","_id":"smtp-connection@2.0.0-beta.0","_shasum":"471f9d7884ce748d0d6dbcce108049b3b61a4e6f","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"andris","email":"andris@kreata.ee"},"dist":{"shasum":"471f9d7884ce748d0d6dbcce108049b3b61a4e6f","tarball":"http://registry.npmjs.org/smtp-connection/-/smtp-connection-2.0.0-beta.0.tgz"},"maintainers":[{"name":"andris","email":"andris@node.ee"}]},"2.0.0-beta.1":{"name":"smtp-connection","version":"2.0.0-beta.1","description":"Connect to SMTP servers","main":"lib/smtp-connection.js","directories":{"test":"test"},"scripts":{"test":"grunt"},"repository":{"type":"git","url":"git://github.com/andris9/smtp-connection.git"},"keywords":["SMTP"],"author":{"name":"Andris Reinman"},"license":"MIT","bugs":{"url":"https://github.com/andris9/smtp-connection/issues"},"homepage":"https://github.com/andris9/smtp-connection","devDependencies":{"chai":"^3.4.1","grunt":"^0.4.5","grunt-eslint":"^17.3.1","grunt-mocha-test":"^0.12.7","mocha":"^2.3.4","smtp-server":"^1.7.1","sinon":"^1.17.2","xoauth2":"^1.1.0"},"dependencies":{},"gitHead":"f091a8c298dc765d0ceed33dd9cc3b80b5424426","_id":"smtp-connection@2.0.0-beta.1","_shasum":"b679d03967011262604e2982f555c1140b28257a","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"andris","email":"andris@kreata.ee"},"dist":{"shasum":"b679d03967011262604e2982f555c1140b28257a","tarball":"http://registry.npmjs.org/smtp-connection/-/smtp-connection-2.0.0-beta.1.tgz"},"maintainers":[{"name":"andris","email":"andris@node.ee"}]},"2.0.0-beta.2":{"name":"smtp-connection","version":"2.0.0-beta.2","description":"Connect to SMTP servers","main":"lib/smtp-connection.js","directories":{"test":"test"},"scripts":{"test":"grunt"},"repository":{"type":"git","url":"git://github.com/andris9/smtp-connection.git"},"keywords":["SMTP"],"author":{"name":"Andris Reinman"},"license":"MIT","bugs":{"url":"https://github.com/andris9/smtp-connection/issues"},"homepage":"https://github.com/andris9/smtp-connection","devDependencies":{"chai":"^3.4.1","grunt":"^0.4.5","grunt-eslint":"^17.3.1","grunt-mocha-test":"^0.12.7","mocha":"^2.3.4","smtp-server":"^1.7.1","sinon":"^1.17.2","xoauth2":"^1.1.0"},"dependencies":{},"gitHead":"24e368512ccb4bf3031e87db865e3dab0a0e71b3","_id":"smtp-connection@2.0.0-beta.2","_shasum":"976529e6382cd8e3ada6b3837b78b3221379d00a","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"andris","email":"andris@kreata.ee"},"dist":{"shasum":"976529e6382cd8e3ada6b3837b78b3221379d00a","tarball":"http://registry.npmjs.org/smtp-connection/-/smtp-connection-2.0.0-beta.2.tgz"},"maintainers":[{"name":"andris","email":"andris@node.ee"}]},"2.0.0-beta.3":{"name":"smtp-connection","version":"2.0.0-beta.3","description":"Connect to SMTP servers","main":"lib/smtp-connection.js","directories":{"test":"test"},"scripts":{"test":"grunt"},"repository":{"type":"git","url":"git://github.com/andris9/smtp-connection.git"},"keywords":["SMTP"],"author":{"name":"Andris Reinman"},"license":"MIT","bugs":{"url":"https://github.com/andris9/smtp-connection/issues"},"homepage":"https://github.com/andris9/smtp-connection","devDependencies":{"chai":"^3.4.1","grunt":"^0.4.5","grunt-eslint":"^17.3.1","grunt-mocha-test":"^0.12.7","mocha":"^2.3.4","smtp-server":"^1.7.1","sinon":"^1.17.2","xoauth2":"^1.1.0"},"dependencies":{"nodemailer-shared":"^1.0.1"},"gitHead":"24008230e574de00d3852ca677a00a13ffe9316b","_id":"smtp-connection@2.0.0-beta.3","_shasum":"a60d765b2bd8499bc4521ff7b7baee5447d1ce23","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"andris","email":"andris@kreata.ee"},"dist":{"shasum":"a60d765b2bd8499bc4521ff7b7baee5447d1ce23","tarball":"http://registry.npmjs.org/smtp-connection/-/smtp-connection-2.0.0-beta.3.tgz"},"maintainers":[{"name":"andris","email":"andris@node.ee"}]}},"readme":"# smtp-connection\n\nSMTP client module. Connect to SMTP servers and send mail with it.\n\nThis module is the successor for the client part of the (now deprecated) SMTP module [simplesmtp](https://www.npmjs.com/package/simplesmtp). For matching SMTP server see [smtp-server](https://www.npmjs.com/package/smtp-server).\n\n[![Build Status](https://secure.travis-ci.org/andris9/smtp-connection.svg)](http://travis-ci.org/andris9/Nodemailer)\n[![npm version](https://badge.fury.io/js/smtp-connection.svg)](http://badge.fury.io/js/smtp-connection)\n\n## Usage\n\nInstall with npm\n\n npm install smtp-connection\n\nRequire in your script\n\n var SMTPConnection = require('smtp-connection');\n\n### Create SMTPConnection instance\n\n```javascript\nvar connection = new SMTPConnection(options);\n```\n\nWhere\n\n * **options** defines connection data\n * **options.port** is the port to connect to (defaults to 25 or 465)\n * **options.host** is the hostname or IP address to connect to (defaults to 'localhost')\n * **options.secure** defines if the connection should use SSL (if `true`) or not (if `false`)\n * **options.ignoreTLS** turns off STARTTLS support if true\n * **options.requireTLS** forces the client to use STARTTLS. Returns an error if upgrading the connection is not possible or fails.\n * **options.name** optional hostname of the client, used for identifying to the server\n * **options.localAddress** is the local interface to bind to for network connections\n * **options.connectionTimeout** how many milliseconds to wait for the connection to establish\n * **options.greetingTimeout** how many milliseconds to wait for the greeting after connection is established\n * **options.socketTimeout** how many milliseconds of inactivity to allow\n * **options.debug** if true, the connection emits all traffic between client and server as 'log' events\n * **options.lmtp** if true, uses LMTP instead of SMTP to talk to the server. Partial support, does not work well with multiple recipients\n * **options.authMethod** defines preferred authentication method, e.g. 'PLAIN'\n * **options.tls** defines additional options to be passed to the socket constructor, e.g. *{rejectUnauthorized: true}*\n * **options.socket** - existing socket to use instead of creating a new one\n\n### Events\n\nSMTPConnection instances are event emitters with the following events\n\n * **'error'** *(err)* emitted when an error occurs. Connection is closed automatically in this case.\n * **'connect'** emitted when the connection is established\n * **'end'** when the instance is destroyed\n * **'log'** *(data)* emitted for all traffic when debug option is set to true\n\n### connect\n\nEstablish the connection\n\n```javascript\nconnection.connect(callback)\n```\n\nWhere\n\n * **callback** is the function to run once the connection is established. The function is added as a listener to the 'connect' event.\n\nAfter the connect event the `connection` has the following properties:\n\n * **connection.secure** - if `true` then the connection uses a TLS socket, otherwise it is using a cleartext socket. Connection can start out as cleartext but if available (or `requireTLS` is set to true) connection upgrade is tried\n\n### login\n\nIf the server requires authentication you can login with\n\n```javascript\nconnection.login(auth, callback)\n```\n\nWhere\n\n * **auth** is the authentication object\n * **auth.user** is the username\n * **auth.pass** is the password for the user\n * **auth.xoauth2** is the OAuth2 access token (preferred if both `pass` and `xoauth2` values are set) or an [XOAuth2](https://github.com/andris9/xoauth2) token generator object.\n * **callback** is the callback to run once the authentication is finished. Callback has the following arguments\n * **err** and error object if authentication failed\n\nIf a [XOAuth2](https://github.com/andris9/xoauth2) token generator is used as the value for `auth.xoauth2` then you do not need to set `auth.user`. XOAuth2 generator generates required accessToken itself if it is missing or expired. In this case if the authentication fails, a new token is requeested and the authentication is retried. If it still fails, an error is returned.\n\n**XOAuth2 Example**\n\n```javascript\nvar generator = require('xoauth2').createXOAuth2Generator({\n user: '{username}',\n clientId: '{Client ID}',\n clientSecret: '{Client Secret}',\n refreshToken: '{refresh-token}'\n});\n\n// listen for token updates\n// you probably want to store these to a db\ngenerator.on('token', function(token){\n console.log('New token for %s: %s', token.user, token.accessToken);\n});\n\n// login\nconnection.login({\n xoauth2: generator\n}, callback);\n```\n\n### send\n\nOnce the connection is authenticated (or just after connection is established if authentication is not required), you can send mail with\n\n```javascript\nconnection.send(envelope, message, callback)\n```\n\nWhere\n\n * **envelope** is the envelope object to use\n * **envelope.from** is the sender address\n * **envelope.to** is the recipient address or an array of addresses\n * **message** is either a String, Buffer or a Stream. All newlines are converted to \\r\\n and all dots are escaped automatically, no need to convert anything before.\n * **callback** is the callback to run once the sending is finished or failed. Callback has the following arguments\n * **err** and error object if sending failed\n * **code** string code identifying the error, for example 'EAUTH' is returned when authentication fails\n * **response** is the last response received from the server (if the error is caused by an error response from the server)\n * **responseCode** is the numeric response code of the `response` string (if available)\n * **info** information object about accepted and rejected recipients\n * **accepted** and array of accepted recipient addresses\n * **rejected** and array of rejected recipient addresses\n * **response** is the last response received from the server\n\n### quit\n\nUse it for graceful disconnect\n\n```javascript\nconnection.quit();\n```\n\n### close\n\nUse it for less graceful disconnect\n\n```javascript\nconnection.close();\n```\n\n## License\n\n**MIT**\n","maintainers":[{"name":"andris","email":"andris@node.ee"}],"time":{"modified":"2016-01-03T12:01:07.673Z","created":"2014-06-22T13:08:20.784Z","0.1.0":"2014-06-22T13:08:20.784Z","0.1.1":"2014-06-24T19:42:06.056Z","0.1.2":"2014-06-24T20:11:01.140Z","0.1.3":"2014-06-24T20:32:52.368Z","0.1.4":"2014-07-07T16:04:52.951Z","0.1.5":"2014-07-08T08:27:42.338Z","0.1.6":"2014-07-09T13:42:45.780Z","0.1.7":"2014-07-16T07:52:16.353Z","1.0.0":"2014-09-26T07:28:32.360Z","1.0.1":"2014-10-15T08:19:52.031Z","1.0.2":"2014-10-15T08:24:01.641Z","1.1.0":"2014-11-11T16:03:27.559Z","1.2.0":"2015-03-09T16:42:37.907Z","1.3.0":"2015-06-28T14:56:25.322Z","1.3.1":"2015-06-30T12:20:33.330Z","1.3.2":"2015-12-16T09:11:24.738Z","1.3.3":"2015-12-16T13:35:37.052Z","1.3.4":"2015-12-19T08:09:22.631Z","1.3.5":"2015-12-19T09:02:44.799Z","1.3.6":"2015-12-19T10:09:47.042Z","1.3.7":"2015-12-22T21:16:34.216Z","1.3.8":"2015-12-29T08:59:23.361Z","2.0.0-beta.0":"2016-01-01T22:24:40.375Z","2.0.0-beta.1":"2016-01-03T07:49:30.285Z","2.0.0-beta.2":"2016-01-03T11:46:33.705Z","2.0.0-beta.3":"2016-01-03T12:01:07.673Z"},"homepage":"https://github.com/andris9/smtp-connection","keywords":["SMTP"],"repository":{"type":"git","url":"git://github.com/andris9/smtp-connection.git"},"author":{"name":"Andris Reinman"},"bugs":{"url":"https://github.com/andris9/smtp-connection/issues"},"license":"MIT","readmeFilename":"README.md","users":{"ivangaravito":true,"nlokare":true,"brandonb927":true},"_attachments":{},"_etag":"\"94Q2NQ6V7E5RTUT5W65ZOWMNO\""}