{"_id":"directmail","_rev":"250364","name":"directmail","description":"Sendmail replacement, sends mail directly to recipients SMTP server","dist-tags":{"latest":"0.1.8"},"maintainers":[{"name":"andris","email":"andris@kreata.ee"}],"time":{"modified":"2021-06-03T16:12:21.000Z","created":"2013-11-22T14:05:26.487Z","0.1.8":"2014-05-15T07:16:53.986Z","0.1.7":"2014-05-13T06:03:58.492Z","0.1.6":"2013-12-05T12:25:13.392Z","0.1.5":"2013-12-01T21:54:01.715Z","0.1.4":"2013-12-01T21:45:47.620Z","0.1.3":"2013-12-01T21:39:56.675Z","0.1.2":"2013-11-25T13:51:41.167Z","0.1.1":"2013-11-25T11:22:17.504Z","0.1.0":"2013-11-22T14:05:26.487Z"},"users":{"manikantag":true},"author":{"name":"Andris Reinman"},"repository":{"type":"git","url":"git://github.com/andris9/directmail.git"},"versions":{"0.1.8":{"name":"directmail","version":"0.1.8","description":"Sendmail replacement, sends mail directly to recipients SMTP server","main":"index.js","scripts":{"test":"nodeunit tests"},"keywords":["SMTP","sendmail","Nodemailer","email"],"author":{"name":"Andris Reinman"},"license":"MIT","dependencies":{"simplesmtp":"~0.3.30"},"devDependencies":{"nodeunit":"~0.8.2"},"repository":{"type":"git","url":"git://github.com/andris9/directmail.git"},"bugs":{"url":"https://github.com/andris9/directmail/issues"},"homepage":"https://github.com/andris9/directmail","_id":"directmail@0.1.8","dist":{"shasum":"e4852c8a0c5519bef4904fcd96d760822f42a446","size":6090,"noattachment":false,"key":"/directmail/-/directmail-0.1.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/directmail/download/directmail-0.1.8.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"andris","email":"andris@node.ee"},"maintainers":[{"name":"andris","email":"andris@kreata.ee"}],"directories":{},"publish_time":1400138213986,"_cnpm_publish_time":1400138213986,"_hasShrinkwrap":false},"0.1.7":{"name":"directmail","version":"0.1.7","description":"Sendmail replacement, sends mail directly to recipients SMTP server","main":"index.js","scripts":{"test":"nodeunit tests"},"keywords":["SMTP","sendmail","Nodemailer","email"],"author":{"name":"Andris Reinman"},"license":"MIT","dependencies":{"simplesmtp":"^0.3.30"},"devDependencies":{"nodeunit":"~0.8.2"},"repository":{"type":"git","url":"git://github.com/andris9/directmail.git"},"bugs":{"url":"https://github.com/andris9/directmail/issues"},"homepage":"https://github.com/andris9/directmail","_id":"directmail@0.1.7","dist":{"shasum":"717ed128925cf687cbb9039ae1852e71d1690556","size":6087,"noattachment":false,"key":"/directmail/-/directmail-0.1.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/directmail/download/directmail-0.1.7.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"andris","email":"andris@node.ee"},"maintainers":[{"name":"andris","email":"andris@kreata.ee"}],"directories":{},"publish_time":1399961038492,"_hasShrinkwrap":false,"_cnpm_publish_time":1399961038492},"0.1.6":{"name":"directmail","version":"0.1.6","description":"Sendmail replacement, sends mail directly to recipients SMTP server","main":"index.js","scripts":{"test":"nodeunit tests"},"keywords":["SMTP","sendmail","Nodemailer","email"],"author":{"name":"Andris Reinman"},"license":"MIT","dependencies":{"simplesmtp":"~0.3.15"},"devDependencies":{"nodeunit":"~0.8.2"},"repository":{"type":"git","url":"git://github.com/andris9/directmail.git"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/andris9/directmail/issues"},"homepage":"https://github.com/andris9/directmail","_id":"directmail@0.1.6","dist":{"shasum":"21add6a35cf70e6050b3aee1a816c88149937748","size":6844,"noattachment":false,"key":"/directmail/-/directmail-0.1.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/directmail/download/directmail-0.1.6.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"andris","email":"andris@node.ee"},"maintainers":[{"name":"andris","email":"andris@kreata.ee"}],"directories":{},"publish_time":1386246313392,"_cnpm_publish_time":1386246313392,"_hasShrinkwrap":false},"0.1.5":{"name":"directmail","version":"0.1.5","description":"Sendmail replacement, sends mail directly to recipients SMTP server","main":"index.js","scripts":{"test":"nodeunit tests"},"keywords":["SMTP","sendmail","Nodemailer","email"],"author":{"name":"Andris Reinman"},"license":"MIT","dependencies":{"simplesmtp":"~0.3.15"},"devDependencies":{"nodeunit":"~0.8.2"},"repository":{"type":"git","url":"git://github.com/andris9/directmail.git"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/andris9/directmail/issues"},"homepage":"https://github.com/andris9/directmail","_id":"directmail@0.1.5","dist":{"shasum":"2cf3693e78fa369eab7fbe292d5286fd53817963","size":6796,"noattachment":false,"key":"/directmail/-/directmail-0.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/directmail/download/directmail-0.1.5.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"andris","email":"andris@node.ee"},"maintainers":[{"name":"andris","email":"andris@kreata.ee"}],"directories":{},"publish_time":1385934841715,"_cnpm_publish_time":1385934841715,"_hasShrinkwrap":false},"0.1.4":{"name":"directmail","version":"0.1.4","description":"Sendmail replacement, sends mail directly to recipients SMTP server","main":"index.js","scripts":{"test":"nodeunit tests"},"keywords":["SMTP","sendmail","Nodemailer","email"],"author":{"name":"Andris Reinman"},"license":"MIT","dependencies":{"simplesmtp":"~0.3.15"},"devDependencies":{"nodeunit":"~0.8.2"},"repository":{"type":"git","url":"git://github.com/andris9/directmail.git"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/andris9/directmail/issues"},"homepage":"https://github.com/andris9/directmail","_id":"directmail@0.1.4","dist":{"shasum":"2087b1dc2bc4a63b8a03316a4dc1ae540f753ec8","size":6727,"noattachment":false,"key":"/directmail/-/directmail-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/directmail/download/directmail-0.1.4.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"andris","email":"andris@node.ee"},"maintainers":[{"name":"andris","email":"andris@kreata.ee"}],"directories":{},"publish_time":1385934347620,"_cnpm_publish_time":1385934347620,"_hasShrinkwrap":false},"0.1.3":{"name":"directmail","version":"0.1.3","description":"Sendmail replacement, sends mail directly to recipients SMTP server","main":"index.js","scripts":{"test":"nodeunit tests"},"keywords":["SMTP","sendmail","Nodemailer","email"],"author":{"name":"Andris Reinman"},"license":"MIT","dependencies":{"simplesmtp":"~0.3.15"},"devDependencies":{"nodeunit":"~0.8.2"},"repository":{"type":"git","url":"git://github.com/andris9/directmail.git"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/andris9/directmail/issues"},"homepage":"https://github.com/andris9/directmail","_id":"directmail@0.1.3","dist":{"shasum":"77f160a6a5fa5ee2520641eebea4517fa546ff75","size":6723,"noattachment":false,"key":"/directmail/-/directmail-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/directmail/download/directmail-0.1.3.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"andris","email":"andris@node.ee"},"maintainers":[{"name":"andris","email":"andris@kreata.ee"}],"directories":{},"publish_time":1385933996675,"_cnpm_publish_time":1385933996675,"_hasShrinkwrap":false},"0.1.2":{"name":"directmail","version":"0.1.2","description":"Sendmail replacement, sends mail directly to recipients SMTP server","main":"index.js","scripts":{"test":"nodeunit tests"},"keywords":["SMTP","sendmail","Nodemailer","email"],"author":{"name":"Andris Reinman"},"license":"MIT","dependencies":{"simplesmtp":"~0.3.15"},"devDependencies":{"nodeunit":"~0.8.2"},"repository":{"type":"git","url":"git://github.com/andris9/directmail.git"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/andris9/directmail/issues"},"homepage":"https://github.com/andris9/directmail","_id":"directmail@0.1.2","dist":{"shasum":"d6c74f981e3ff6293c576bb601bf32a2fcd50990","size":6418,"noattachment":false,"key":"/directmail/-/directmail-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/directmail/download/directmail-0.1.2.tgz"},"_from":".","_npmVersion":"1.3.13","_npmUser":{"name":"andris","email":"andris@node.ee"},"maintainers":[{"name":"andris","email":"andris@kreata.ee"}],"directories":{},"publish_time":1385387501167,"_cnpm_publish_time":1385387501167,"_hasShrinkwrap":false},"0.1.1":{"name":"directmail","version":"0.1.1","description":"Sendmail replacement, sends mail directly to recipients SMTP server","main":"index.js","scripts":{"test":"nodeunit tests"},"keywords":["SMTP"],"author":{"name":"Andris Reinman"},"license":"MIT","dependencies":{"simplesmtp":"~0.3.15"},"devDependencies":{"nodeunit":"~0.8.2"},"repository":{"type":"git","url":"http://github.com/andris9/directmail.git"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/andris9/directmail/issues"},"homepage":"https://github.com/andris9/directmail","_id":"directmail@0.1.1","dist":{"shasum":"469f98a28369edd3a29430f7674a50f484def9ec","size":4512,"noattachment":false,"key":"/directmail/-/directmail-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/directmail/download/directmail-0.1.1.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"andris","email":"andris@node.ee"},"maintainers":[{"name":"andris","email":"andris@kreata.ee"}],"directories":{},"publish_time":1385378537504,"_cnpm_publish_time":1385378537504,"_hasShrinkwrap":false},"0.1.0":{"name":"directmail","version":"0.1.0","description":"Sendmail replacement, sends mail directly to recipients SMTP server","main":"index.js","scripts":{"test":"nodeunit tests"},"keywords":["SMTP"],"author":{"name":"Andris Reinman"},"license":"MIT","dependencies":{"simplesmtp":"~0.3.15"},"devDependencies":{"nodeunit":"~0.8.2"},"repository":{"type":"git","url":"http://github.com/andris9/directmail.git"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/andris9/directmail/issues"},"homepage":"https://github.com/andris9/directmail","_id":"directmail@0.1.0","dist":{"shasum":"36fc1b436de59d42d325b77f0051f4e227579bdd","size":3869,"noattachment":false,"key":"/directmail/-/directmail-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/directmail/download/directmail-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"andris","email":"andris@node.ee"},"maintainers":[{"name":"andris","email":"andris@kreata.ee"}],"directories":{},"publish_time":1385129126487,"_cnpm_publish_time":1385129126487,"_hasShrinkwrap":false}},"readme":"# DirectMail\n\nSendmail alternative to send e-mails directly to recipients without a relaying service.\n\n### Support DirectMail development\n\n[![Donate to author](https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=DB26KWR2BQX5W)\n\nIf you want to support with Bitcoins then my wallet address is `15Z8ADxhssKUiwP3jbbqJwA21744KMCfTM`\n\n## Usage\n\n### Setup\n\nRequire *directmail* object\n\n    var createDirectmail = require(\"directmail\"),\n        directmail = createDirectmail(options);\n\nWhere\n\n  * **options** is an optional options object with the following properties\n    * *debug* - if set to true, prints all traffic to console\n    * *name* - hostname to be used when introducing the client to the MX server\n\n### Send mail\n\nPush a message to the outgoing queue\n\n    directmail.send({\n        from: \"sender@example.com\",\n        recipients: [\"receiver1@example.com\", \"receiver2@example.com\"],\n        message: \"Subject: test\\r\\n\\r\\nHello world!\"\n    });\n\nWhere\n\n  * **from** (string) is the e-mail address of the sender\n  * **recipients** (array) is an array of recipient e-mails. Put all `to`, `cc` and `bcc` addresses here.\n  * **message** (string|buffer) is the RFC2822 message to be sent\n\n### Check queue length\n\nYou can check the count of unsent messages from the `.length` property of the directmail object\n\n    console.log(directmail.length); // nr of messages to be sent\n\nIf you try to send a message with multiple recipients then every unique recipient domain counts as a different message.\n\n## Issues\n\n*Directmail* 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 are lost. Thus *directmail* is only suitable for low throughput systems, like password remainders and such, where the message can be processed immediatelly. *Directmail* is not suitable for spamming.\n\nWhile not being 100% reliable (remember - if process exits, entire queue is lost), *directmail* 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","_attachments":{},"homepage":"https://github.com/andris9/directmail","bugs":{"url":"https://github.com/andris9/directmail/issues"},"license":"MIT"}