{"_id":"nodemailer-direct-transport","_rev":"13-2c9203f80f670911825de4dd8a5f6c63","name":"nodemailer-direct-transport","description":"Direct transport for Nodemailer","dist-tags":{"latest":"1.1.0"},"versions":{"0.1.0":{"name":"nodemailer-direct-transport","version":"0.1.0","description":"Direct transport for Nodemailer","main":"src/direct-transport.js","scripts":{"test":"grunt"},"repository":{"type":"git","url":"git://github.com/andris9/nodemailer-direct-transport.git"},"keywords":["SMTP","Nodemailer"],"author":{"name":"Andris Reinman"},"license":"MIT","bugs":{"url":"https://github.com/andris9/nodemailer-direct-transport/issues"},"homepage":"http://github.com/andris9/nodemailer-direct-transport","dependencies":{"smtp-connection":"^0.1.5"},"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"},"gitHead":"0ae62f124ae5ccad8f027d711e6b98872f9c7eb3","_id":"nodemailer-direct-transport@0.1.0","_shasum":"9f82c5e4a35eb7efe9800603923b16abf4fd4e0c","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"andris","email":"andris@node.ee"},"maintainers":[{"name":"andris","email":"andris@node.ee"}],"dist":{"shasum":"9f82c5e4a35eb7efe9800603923b16abf4fd4e0c","tarball":"http://registry.npmjs.org/nodemailer-direct-transport/-/nodemailer-direct-transport-0.1.0.tgz"},"directories":{}},"0.1.1":{"name":"nodemailer-direct-transport","version":"0.1.1","description":"Direct transport for Nodemailer","main":"src/direct-transport.js","scripts":{"test":"grunt"},"repository":{"type":"git","url":"git://github.com/andris9/nodemailer-direct-transport.git"},"keywords":["SMTP","Nodemailer"],"author":{"name":"Andris Reinman"},"license":"MIT","bugs":{"url":"https://github.com/andris9/nodemailer-direct-transport/issues"},"homepage":"http://github.com/andris9/nodemailer-direct-transport","dependencies":{"smtp-connection":"^0.1.5"},"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"},"gitHead":"581866b402a2243d3cef25a21cf78ce1fdbcae2f","_id":"nodemailer-direct-transport@0.1.1","_shasum":"bff35be8baf5fa926a3febf90056d1039ba2e590","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"andris","email":"andris@node.ee"},"maintainers":[{"name":"andris","email":"andris@node.ee"}],"dist":{"shasum":"bff35be8baf5fa926a3febf90056d1039ba2e590","tarball":"http://registry.npmjs.org/nodemailer-direct-transport/-/nodemailer-direct-transport-0.1.1.tgz"},"directories":{}},"0.1.2":{"name":"nodemailer-direct-transport","version":"0.1.2","description":"Direct transport for Nodemailer","main":"src/direct-transport.js","scripts":{"test":"grunt"},"repository":{"type":"git","url":"git://github.com/andris9/nodemailer-direct-transport.git"},"keywords":["SMTP","Nodemailer"],"author":{"name":"Andris Reinman"},"license":"MIT","bugs":{"url":"https://github.com/andris9/nodemailer-direct-transport/issues"},"homepage":"http://github.com/andris9/nodemailer-direct-transport","dependencies":{"smtp-connection":"^0.1.5"},"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"},"gitHead":"905234bec3cdcc6f4791838578240956c293610e","_id":"nodemailer-direct-transport@0.1.2","_shasum":"aba8be9b48049e62d0203f3ab5b711d8a56d01b0","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"andris","email":"andris@node.ee"},"maintainers":[{"name":"andris","email":"andris@node.ee"}],"dist":{"shasum":"aba8be9b48049e62d0203f3ab5b711d8a56d01b0","tarball":"http://registry.npmjs.org/nodemailer-direct-transport/-/nodemailer-direct-transport-0.1.2.tgz"},"directories":{}},"1.0.0":{"name":"nodemailer-direct-transport","version":"1.0.0","description":"Direct transport for Nodemailer","main":"src/direct-transport.js","scripts":{"test":"grunt"},"repository":{"type":"git","url":"git://github.com/andris9/nodemailer-direct-transport.git"},"keywords":["SMTP","Nodemailer"],"author":{"name":"Andris Reinman"},"license":"MIT","bugs":{"url":"https://github.com/andris9/nodemailer-direct-transport/issues"},"homepage":"http://github.com/andris9/nodemailer-direct-transport","dependencies":{"smtp-connection":"^0.1.5"},"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"},"gitHead":"efa732af912fb66b6abe8c63563036ca62af5068","_id":"nodemailer-direct-transport@1.0.0","_shasum":"dcae2c4ebdc20a4656cba64afee3e669168a933d","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"andris","email":"andris@node.ee"},"maintainers":[{"name":"andris","email":"andris@node.ee"}],"dist":{"shasum":"dcae2c4ebdc20a4656cba64afee3e669168a933d","tarball":"http://registry.npmjs.org/nodemailer-direct-transport/-/nodemailer-direct-transport-1.0.0.tgz"},"directories":{}},"1.0.1":{"name":"nodemailer-direct-transport","version":"1.0.1","description":"Direct transport for Nodemailer","main":"src/direct-transport.js","scripts":{"test":"grunt"},"repository":{"type":"git","url":"git://github.com/andris9/nodemailer-direct-transport.git"},"keywords":["SMTP","Nodemailer"],"author":{"name":"Andris Reinman"},"license":"MIT","bugs":{"url":"https://github.com/andris9/nodemailer-direct-transport/issues"},"homepage":"http://github.com/andris9/nodemailer-direct-transport","dependencies":{"smtp-connection":"^1.1.0"},"devDependencies":{"chai":"~2.0.0","grunt":"~0.4.5","grunt-contrib-jshint":"~0.11.0","grunt-mocha-test":"~0.12.7","simplesmtp":"^0.3.35","sinon":"^1.12.2"},"gitHead":"e6c3aded669b6ea48d8c02c87666e60ffb5d9b1e","_id":"nodemailer-direct-transport@1.0.1","_shasum":"72e41f5a419f774ba07f7f3506d1dacd1b564c2b","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"andris","email":"andris@kreata.ee"},"maintainers":[{"name":"andris","email":"andris@node.ee"}],"dist":{"shasum":"72e41f5a419f774ba07f7f3506d1dacd1b564c2b","tarball":"http://registry.npmjs.org/nodemailer-direct-transport/-/nodemailer-direct-transport-1.0.1.tgz"},"directories":{}},"1.0.2":{"name":"nodemailer-direct-transport","version":"1.0.2","description":"Direct transport for Nodemailer","main":"src/direct-transport.js","scripts":{"test":"grunt"},"repository":{"type":"git","url":"git://github.com/andris9/nodemailer-direct-transport.git"},"keywords":["SMTP","Nodemailer"],"author":{"name":"Andris Reinman"},"license":"MIT","bugs":{"url":"https://github.com/andris9/nodemailer-direct-transport/issues"},"homepage":"http://github.com/andris9/nodemailer-direct-transport","dependencies":{"smtp-connection":"^1.2.0"},"devDependencies":{"chai":"^2.1.1","grunt":"^0.4.5","grunt-contrib-jshint":"^0.11.0","grunt-mocha-test":"^0.12.7","sinon":"^1.13.0","smtp-server":"^1.1.0"},"gitHead":"4bb65bc2318f4f1724532398b30c8584830c64b3","_id":"nodemailer-direct-transport@1.0.2","_shasum":"cec0fb03bb7828c64faacc5344b28911807cdba1","_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":"cec0fb03bb7828c64faacc5344b28911807cdba1","tarball":"http://registry.npmjs.org/nodemailer-direct-transport/-/nodemailer-direct-transport-1.0.2.tgz"},"directories":{}},"1.1.0":{"name":"nodemailer-direct-transport","version":"1.1.0","description":"Direct transport for Nodemailer","main":"src/direct-transport.js","scripts":{"test":"grunt"},"repository":{"type":"git","url":"git://github.com/andris9/nodemailer-direct-transport.git"},"keywords":["SMTP","Nodemailer"],"author":{"name":"Andris Reinman"},"license":"MIT","bugs":{"url":"https://github.com/andris9/nodemailer-direct-transport/issues"},"homepage":"http://github.com/andris9/nodemailer-direct-transport","dependencies":{"smtp-connection":"^1.3.1"},"devDependencies":{"chai":"^3.3.0","grunt":"^0.4.5","grunt-contrib-jshint":"^0.11.3","grunt-mocha-test":"^0.12.7","mocha":"^2.3.3","sinon":"^1.17.1","smtp-server":"^1.6.0"},"gitHead":"349ea2df54e3051de02d611bc94bbbaa4c264435","_id":"nodemailer-direct-transport@1.1.0","_shasum":"a2f78708ee6f16ea0573fc82949d138ff172f624","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"andris","email":"andris@kreata.ee"},"dist":{"shasum":"a2f78708ee6f16ea0573fc82949d138ff172f624","tarball":"http://registry.npmjs.org/nodemailer-direct-transport/-/nodemailer-direct-transport-1.1.0.tgz"},"maintainers":[{"name":"andris","email":"andris@node.ee"}],"directories":{}}},"readme":"# Direct SMTP transport module for Nodemailer\n\nApplies for Nodemailer v1.x and not for v0.x where transports are built-in.\n\n## Usage\n\nInstall with npm\n\n npm install nodemailer-direct-transport\n\nRequire to your script\n\n```javascript\nvar nodemailer = require('nodemailer');\nvar directTransport = require('nodemailer-direct-transport');\n```\n\nCreate a Nodemailer transport object\n\n```javascript\nvar transporter = nodemailer.createTransport(directTransport(options))\n```\n\nWhere\n\n * **options** defines connection data\n * **options.name** hostname to be used when introducing the client to the MX server\n * **options.debug** if true, the connection emits all traffic between client and server as 'log' events\n\n**Example**\n\n```javascript\nvar transport = nodemailer.createTransport(directTransport());\n```\n\n## send callback\n\nSend callback includes the following arguments\n\n * **error** if the mail was not sent\n * **error.errors** is an array of error responses (one response for one MX exchange)\n * **error.errors[].recipients** an array of failed recipients\n * **error.errors[].response** Error response from the SMTP server\n * **info** if at least one mail was sent or is pending\n * **info.accepted** an array of recipients that were accepted\n * **info.rejected** an array of recipients that were rejected\n * **info.pending** an arrray of pending recipient objects (messages that were not rejected permanently and are retried later)\n * **info.pending[].recipients** an array of recipient addresses that are still pending\n * **info.pending[].response** Response from the SMTP server\n * **info.errors** An array of errors (for these exhanges that rejected mail)\n\n## Issues\n\nDirect transport is very inefficient as it queues all e-mails to be sent into memory. Additionally, if a message is not yet sent and the process is closed, all data about queued messages is lost. Thus direct transport is only suitable for low throughput systems, where the message can be processed immediatelly.\n\nWhile not being 100% reliable (remember - if process exits, entire queue is lost), direct transport can still handle sending errors, graylisting and such. If a message can not be sent, it is requeued and retried later.\n\n## License\n\n**MIT**\n","maintainers":[{"name":"andris","email":"andris@node.ee"}],"time":{"modified":"2015-10-08T11:54:27.815Z","created":"2014-07-08T12:51:19.200Z","0.1.0":"2014-07-08T12:51:19.200Z","0.1.1":"2014-07-08T14:00:55.958Z","0.1.2":"2014-07-15T11:19:06.642Z","1.0.0":"2014-07-30T10:29:48.922Z","1.0.1":"2015-02-18T19:58:27.776Z","1.0.2":"2015-03-09T20:49:35.979Z","1.1.0":"2015-10-08T11:54:27.815Z"},"homepage":"http://github.com/andris9/nodemailer-direct-transport","keywords":["SMTP","Nodemailer"],"repository":{"type":"git","url":"git://github.com/andris9/nodemailer-direct-transport.git"},"author":{"name":"Andris Reinman"},"bugs":{"url":"https://github.com/andris9/nodemailer-direct-transport/issues"},"license":"MIT","readmeFilename":"README.md","_attachments":{},"_etag":"\"5WTALN345A2OQHLJZCCOVXWYX\""}