{"_id":"email","_rev":"203296","name":"email","description":"A simple wrapper for sendmail.","dist-tags":{"latest":"0.2.6"},"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"}],"time":{"modified":"2021-06-03T12:38:51.000Z","created":"2011-04-17T01:17:26.546Z","0.2.6":"2013-05-30T20:50:57.021Z","0.2.5":"2012-03-05T20:02:04.555Z","0.2.4":"2011-05-24T12:31:26.884Z","0.2.3":"2011-04-17T01:17:26.546Z","0.2.2":"2011-04-17T01:17:26.546Z","0.2.1":"2011-04-17T01:17:26.546Z","0.1.0":"2011-04-17T01:17:26.546Z","0.0.4":"2011-04-17T01:17:26.546Z"},"users":{"adamlu":true,"joshre":true,"fouber":true,"imagdy":true,"roryrjb":true,"hoitmort":true,"npmmax":true,"makediff":true,"dimd13":true,"zangobibin":true,"sammyteahan":true,"nicolerey":true,"rwaness":true},"author":{"name":"Aaron Heckmann","email":"aaron.heckmann+github@gmail.com"},"repository":{"type":"git","url":"git://github.com/aheckmann/node-email.git"},"versions":{"0.2.6":{"name":"email","description":"A simple wrapper for sendmail.","version":"0.2.6","author":{"name":"Aaron Heckmann","email":"aaron.heckmann+github@gmail.com"},"keywords":["email","sendmail","node-email"],"engines":{"node":">= 0.1.92"},"bugs":{"url":"http://github.com/aheckmann/node-email/issues"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"main":"./index","repository":{"type":"git","url":"git://github.com/aheckmann/node-email.git"},"devDependencies":{"gleak":"0.4.0"},"readmeFilename":"README.md","_id":"email@0.2.6","dist":{"shasum":"96c538cf4a8a23db8bd2af7156c7b968f39abc4c","size":7481,"noattachment":false,"key":"/email/-/email-0.2.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/email/download/email-0.2.6.tgz"},"_from":".","_npmVersion":"1.2.23","_npmUser":{"name":"aaron","email":"aaron.heckmann+github@gmail.com"},"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"}],"directories":{},"publish_time":1369947057021,"_cnpm_publish_time":1369947057021,"_hasShrinkwrap":false},"0.2.5":{"name":"email","description":"A simple wrapper for sendmail.","version":"0.2.5","author":{"name":"Aaron Heckmann","email":"aaron.heckmann+github@gmail.com"},"keywords":["email","sendmail","node-email"],"engines":{"node":">= 0.1.92"},"bugs":{"url":"http://github.com/aheckmann/node-email/issues"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"main":"./index","repository":{"type":"git","url":"git://github.com/aheckmann/node-email.git"},"devDependencies":{"gleak":"0.2.3"},"_npmUser":{"name":"aaron","email":"aaron.heckmann+github@gmail.com"},"_id":"email@0.2.5","dependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.4","_nodeVersion":"v0.6.11","_defaultsLoaded":true,"dist":{"shasum":"d5e770cef541603a20cd668f9dd27db3c31ef413","size":7871,"noattachment":false,"key":"/email/-/email-0.2.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/email/download/email-0.2.5.tgz"},"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"}],"directories":{},"publish_time":1330977724555,"_cnpm_publish_time":1330977724555,"_hasShrinkwrap":false},"0.2.4":{"name":"email","description":"A simple wrapper for sendmail.","version":"0.2.4","author":{"name":"Aaron Heckmann","email":"aaron.heckmann+github@gmail.com"},"keywords":["email","sendmail","node-email"],"engines":{"node":">= 0.1.92"},"bugs":{"name":"http://github.com/aheckmann/node-email/issues"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"main":"./index","repository":{"type":"git","url":"git://github.com/aheckmann/node-email.git"},"dependencies":{},"devDependencies":{},"_id":"email@0.2.4","_engineSupported":true,"_npmVersion":"1.0.6","_nodeVersion":"v0.4.8","_defaultsLoaded":true,"dist":{"shasum":"296f7fd6b9e0b89f80c24d27621a673cdf497992","size":7147,"noattachment":false,"key":"/email/-/email-0.2.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/email/download/email-0.2.4.tgz"},"scripts":{},"directories":{},"publish_time":1306240286884,"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"}],"_cnpm_publish_time":1306240286884,"_hasShrinkwrap":false},"0.2.3":{"name":"email","description":"A simple wrapper for sendmail.","version":"0.2.3","author":{"name":"Aaron Heckmann","email":"aaron.heckmann+github@gmail.com"},"keywords":["email","sendmail","node-email"],"engines":{"node":">= 0.1.92"},"bugs":{"name":"http://github.com/aheckmann/node-email/issues"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"main":"./index","repository":{"type":"git","url":"git://github.com/aheckmann/node-email.git"},"_id":"email@0.2.3","_engineSupported":true,"_npmVersion":"0.3.15","_nodeVersion":"v0.4.6","directories":{},"files":[""],"_defaultsLoaded":true,"dist":{"shasum":"c418a1839e2c71bd8ba7201f9b41f874314a5e73","size":7686,"noattachment":false,"key":"/email/-/email-0.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/email/download/email-0.2.3.tgz"},"publish_time":1303003046546,"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"}],"_cnpm_publish_time":1303003046546,"_hasShrinkwrap":false},"0.2.2":{"name":"email","description":"A simple wrapper for sendmail.","version":"0.2.2","author":{"name":"Aaron Heckmann","email":"aaron.heckmann+github@gmail.com"},"keywords":["email","sendmail","node-email"],"engines":{"node":">= 0.1.92"},"bugs":"http://github.com/aheckmann/node-email/issues","licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"main":"./index","_id":"email@0.2.2","_nodeSupported":true,"_npmVersion":"0.2.7-2","_nodeVersion":"v0.3.1-pre","dist":{"shasum":"3d1a9905d62bcd9e38990e42b85a8078d2a750d7","size":6822,"noattachment":false,"key":"/email/-/email-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/email/download/email-0.2.2.tgz"},"directories":{},"publish_time":1303003046546,"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"}],"_cnpm_publish_time":1303003046546,"_hasShrinkwrap":false},"0.2.1":{"name":"email","description":"A simple wrapper for sendmail.","version":"0.2.1","author":{"name":"Aaron Heckmann","email":"aaron.heckmann+github@gmail.com"},"keywords":["email","sendmail","node-email"],"engines":{"node":">= 0.1.92"},"bugs":"http://github.com/aheckmann/node-email/issues","licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"main":"./index","_id":"email@0.2.1","_nodeSupported":true,"_npmVersion":"0.2.7-2","_nodeVersion":"v0.3.1-pre","dist":{"shasum":"6db7fb5d8a6070fc131d3cca8c0e270fae584832","size":6743,"noattachment":false,"key":"/email/-/email-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/email/download/email-0.2.1.tgz"},"directories":{},"publish_time":1303003046546,"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"}],"_cnpm_publish_time":1303003046546,"_hasShrinkwrap":false},"0.1.0":{"name":"email","description":"A simple wrapper for sendmail.","version":"0.1.0","author":{"name":"Aaron Heckmann","email":"aaron.heckmann+github@gmail.com"},"keywords":["email","sendmail","node-email"],"engines":{"node":">= 0.1.92"},"bugs":"http://github.com/aheckmann/node-email/issues","licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"main":"./index","_id":"email@0.1.0","_nodeSupported":true,"_npmVersion":"0.2.7-2","_nodeVersion":"v0.3.1-pre","dist":{"shasum":"7115f69e47bb0beef85c255af9578a3f5b056c15","size":4539,"noattachment":false,"key":"/email/-/email-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/email/download/email-0.1.0.tgz"},"directories":{},"publish_time":1303003046546,"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"}],"_cnpm_publish_time":1303003046546,"_hasShrinkwrap":false},"0.0.4":{"name":"email","description":"A simple wrapper for sendmail.","version":"0.0.4","author":{"name":"Aaron Heckmann","email":"aaron.heckmann+github@gmail.com"},"keywords":["email","sendmail","node-email"],"engines":{"node":">= 0.1.92"},"bugs":"http://github.com/aheckmann/node-email/issues","licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"main":"./email","_id":"email@0.0.4","_nodeSupported":true,"_npmVersion":"0.2.7-2","_nodeVersion":"v0.3.1-pre","dist":{"shasum":"53468b1ac2625fd1c0c2791f19faeba9c14420a7","size":4381,"noattachment":false,"key":"/email/-/email-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/email/download/email-0.0.4.tgz"},"directories":{},"publish_time":1303003046546,"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"}],"_cnpm_publish_time":1303003046546,"_hasShrinkwrap":false}},"readme":"# node-email\n\nA simple wrapper for the sendmail command\n\n## Installation\n\nFirst make sure [Sendmail](http://www.sendmail.org/) is installed.\n\nthen either\n\n    npm install email\n\nor \n\n    git clone git://github.com/aheckmann/node-email.git\n\n## Examples\n    var Email = require('path/to/email').Email\n    var myMsg = new Email(\n    { from: \"me@example.com\"\n    , to:   \"you@example.com\"\n    , subject: \"Knock knock...\"\n    , body: \"Who's there?\"\n    })\n    \n    // if callback is provided, errors will be passed into it\n    // else errors will be thrown\n    myMsg.send(function(err){ ... })\n\nIn this example we set the global `from` property so that all\nemail is sent from the same address.\n    \n    var lib = require('path/to/email')\n      , Email = lib.Email;\n        \n    lib.from = 'someAddress@youAlwaysSendFrom.com'\n    \n    // no need to set the from property, already set\n    var mail = new Email(\n    { to: \"you@example.com\"\n    , subject: \"Knock knock...\"\n    , body: \"Who's there?\"\n    })\n    mail.send()\n\nNote that no callback was passed into `send()`, therefore errors will throw.\n    \n\n## Options\n \n    new Email(config)\n    \n  config options:\n  \n  - to {array|string} \n    - Email address(es) to which this msg will be sent\n  - from {string} \n    - Email address from which this msg is sent. If not set\n      defaults to the `exports.from` global setting.\n  - replyTo {string} \n    - Email address to which replies will be sent. If not set \n      defaults to `from`\n  - cc {array|string} \n    - Email address(es) who receive a copy\n  - bcc {array|string} \n    - Email address(es) who receive a blind copy\n  - subject {string} \n    - The subject of the email\n  - body {string} \n    - The message of the email\n  - bodyType {string} \n    - Content type of body. Only valid option is 'html' (for now). \n      Defaults to text/plain.\n  - altText {string}\n    - If `bodyType` is set to 'html', this will be sent as the text\n      alternative.\n  - timeout {number} \n    - Duration in milliseconds to wait before killing the process. \n      If not set, defaults to `exports.timeout` global setting.\n  - path {string}\n    - Optional path to the sendmail executable\n\n  Global settings\n  \n  - exports.timeout {number} \n    - Duration in milliseconds to wait before killing the process. \n      Defaults to 3000. Used when `timeout` is not set on a message.\n  - exports.from {string} \n    - Email address from which messages are sent. Used\n      when `from` was not set on a message.\n\n## Injection\nSome protection against injection attacks is enabled. Use at your own \nrisk. Or better yet, fork it and submit something better!\n\n## Node version\nCompatible with v0.1.92+\nSee the [node compatibility](http://wiki.github.com/ry/node/library-compatibility) page for working with earlier node versions.\n \n## License \n\n(The MIT License)\n\nCopyright (c) 2011 [Aaron Heckmann](aaron.heckmann+github@gmail.com)\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_attachments":{},"readmeFilename":"README.md","bugs":{"url":"http://github.com/aheckmann/node-email/issues"}}