{"_id":"wo-smtpclient","_rev":"35-4c7d187f54dd5eff47abde87cb45fb06","name":"wo-smtpclient","description":"SMTP Client allows you to connect to and stream data to a SMTP server in the browser.","dist-tags":{"latest":"0.6.1"},"versions":{"0.3.3":{"name":"wo-smtpclient","version":"0.3.3","homepage":"https://github.com/whiteout-io/smtpclient","description":"SMTP Client allows you to connect to and stream data to a SMTP server in the browser.","author":{"name":"Andris Reinman","email":"andris@kreata.ee"},"keywords":["SMTP"],"license":"MIT","scripts":{"pretest":"cd node_modules/tcp-socket/node_modules/node-forge/ && npm install && npm run minify && cd ../../../..","test":"grunt"},"repository":{"type":"git","url":"git://github.com/whiteout-io/smtpclient.git"},"main":"src/smtpclient","dependencies":{"tcp-socket":"~0.3.0","stringencoding":"https://github.com/whiteout-io/stringencoding/tarball/v0.1.0","axe":"https://github.com/whiteout-io/axe/tarball/v0.0.2"},"devDependencies":{"chai":"~1.8.1","grunt":"~0.4.1","grunt-mocha-phantomjs":"~0.4.0","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-copy":"^0.5.0","grunt-contrib-clean":"^0.5.0","grunt-contrib-watch":"^0.6.1","grunt-mocha-test":"~0.10.0","mocha":"~1.16.2","requirejs":"~2.1.10","simplesmtp":"^0.3.27","sinon":"^1.9.0","amdefine":"^0.1.0"},"bugs":{"url":"https://github.com/whiteout-io/smtpclient/issues"},"_id":"wo-smtpclient@0.3.3","_shasum":"d476e4d88f86e5733981a723021072ec240e3ac6","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"felixhammerl","email":"mail@felixhammerl.com"},"maintainers":[{"name":"felixhammerl","email":"mail@felixhammerl.com"}],"dist":{"shasum":"d476e4d88f86e5733981a723021072ec240e3ac6","tarball":"https://registry.npmjs.org/wo-smtpclient/-/wo-smtpclient-0.3.3.tgz","integrity":"sha512-fxhK8etTbb+VSuXhkguHZnbXezJeiHdegwjNuOKhB4JWjJWpgnAvFrU2locRN1c6bxOilPiacqpaDDjz2AMq2g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG+HgOThuHlNRuXtz+tyd1R09E/UD8OwfkOmBWcqJuHmAiB/DmdSpjOLEf7BbC3UstMtMagJltl8k7/Nm0Va9XoOag=="}]},"deprecated":"Moved to emailjs-smtp-client"},"0.3.5":{"name":"wo-smtpclient","version":"0.3.5","homepage":"https://github.com/whiteout-io/smtpclient","description":"SMTP Client allows you to connect to and stream data to a SMTP server in the browser.","author":{"name":"Andris Reinman","email":"andris@kreata.ee"},"keywords":["SMTP"],"license":"MIT","scripts":{"pretest":"cd node_modules/tcp-socket/node_modules/node-forge/ && npm install && npm run minify && cd ../../../..","test":"grunt"},"repository":{"type":"git","url":"git://github.com/whiteout-io/smtpclient.git"},"main":"src/smtpclient","dependencies":{"tcp-socket":"~0.3.0","wo-stringencoding":"~0.1.1","axe-logger":"~0.0.2"},"devDependencies":{"chai":"~1.8.1","grunt":"~0.4.1","grunt-mocha-phantomjs":"~0.4.0","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-copy":"^0.5.0","grunt-contrib-clean":"^0.5.0","grunt-contrib-watch":"^0.6.1","grunt-mocha-test":"~0.10.0","mocha":"~1.16.2","requirejs":"~2.1.10","simplesmtp":"^0.3.27","sinon":"^1.9.0","amdefine":"^0.1.0"},"bugs":{"url":"https://github.com/whiteout-io/smtpclient/issues"},"_id":"wo-smtpclient@0.3.5","_shasum":"20bc022d90856b2fa4c0169cf814ed6e7df8c90c","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"felixhammerl","email":"mail@felixhammerl.com"},"maintainers":[{"name":"felixhammerl","email":"mail@felixhammerl.com"},{"name":"tanx","email":"info@tankredhase.de"},{"name":"andris","email":"andris@kreata.ee"}],"dist":{"shasum":"20bc022d90856b2fa4c0169cf814ed6e7df8c90c","tarball":"https://registry.npmjs.org/wo-smtpclient/-/wo-smtpclient-0.3.5.tgz","integrity":"sha512-SzNvcL6Ayb0UcKSzJhGk/wG+O5hJ3N/s3+dMyi7RdJnZGgguQADq9V0/KX6YWQiPafObZOjFjka4e57H3EPGag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQzxl2cbgrVGoZKa8166DzjP+dwJwQDmTpAWYC2F/uZAIhAPP1k0wOmEE3CI7FVwRe0uECm8RhJki6neMUOik30wCA"}]},"deprecated":"Moved to emailjs-smtp-client"},"0.3.6":{"name":"wo-smtpclient","version":"0.3.6","homepage":"https://github.com/whiteout-io/smtpclient","description":"SMTP Client allows you to connect to and stream data to a SMTP server in the browser.","author":{"name":"Andris Reinman","email":"andris@kreata.ee"},"keywords":["SMTP"],"license":"MIT","scripts":{"pretest":"cd node_modules/tcp-socket/node_modules/node-forge/ && npm install && npm run minify && cd ../../../..","test":"grunt"},"repository":{"type":"git","url":"git://github.com/whiteout-io/smtpclient.git"},"main":"src/smtpclient","dependencies":{"tcp-socket":"~0.3.0","wo-stringencoding":"~0.1.1","axe-logger":"~0.0.2"},"devDependencies":{"chai":"~1.8.1","grunt":"~0.4.1","grunt-mocha-phantomjs":"~0.4.0","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-copy":"^0.5.0","grunt-contrib-clean":"^0.5.0","grunt-contrib-watch":"^0.6.1","grunt-mocha-test":"~0.10.0","mocha":"~1.16.2","requirejs":"~2.1.10","simplesmtp":"^0.3.27","sinon":"^1.9.0"},"bugs":{"url":"https://github.com/whiteout-io/smtpclient/issues"},"_id":"wo-smtpclient@0.3.6","_shasum":"23c994d62b106336f22acf0e9d9e6c172b6776d7","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"felixhammerl","email":"mail@felixhammerl.com"},"maintainers":[{"name":"felixhammerl","email":"mail@felixhammerl.com"},{"name":"tanx","email":"info@tankredhase.de"},{"name":"andris","email":"andris@kreata.ee"}],"dist":{"shasum":"23c994d62b106336f22acf0e9d9e6c172b6776d7","tarball":"https://registry.npmjs.org/wo-smtpclient/-/wo-smtpclient-0.3.6.tgz","integrity":"sha512-kXf/nF8H1BbPHhDwzZBodKN++YutD9w/8znQZcQa2yX8RuonaDnmRT0OvZiuIGdFlx+6oQi7C1mY4uYeBzUyHw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgtizT3DGDVkareWA4Qy9i7dl1Fx2JZMv+YwJTTsZ10AIgCsBeolrX9EgPRnIdps6b8UuKzesNJacLSEki4pt7AZk="}]},"deprecated":"Moved to emailjs-smtp-client"},"0.3.7":{"name":"wo-smtpclient","version":"0.3.7","homepage":"https://github.com/whiteout-io/smtpclient","description":"SMTP Client allows you to connect to and stream data to a SMTP server in the browser.","author":{"name":"Andris Reinman","email":"andris@kreata.ee"},"keywords":["SMTP"],"license":"MIT","scripts":{"pretest":"cd node_modules/tcp-socket/node_modules/node-forge/ && npm install && npm run minify && cd ../../../..","test":"grunt"},"repository":{"type":"git","url":"git://github.com/whiteout-io/smtpclient.git"},"main":"src/smtpclient","dependencies":{"tcp-socket":"~0.3.4","wo-stringencoding":"~0.1.1","axe-logger":"~0.0.2"},"devDependencies":{"chai":"~1.8.1","grunt":"~0.4.1","grunt-mocha-phantomjs":"~0.4.0","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-copy":"^0.5.0","grunt-contrib-clean":"^0.5.0","grunt-contrib-watch":"^0.6.1","grunt-mocha-test":"~0.10.0","mocha":"~1.16.2","requirejs":"~2.1.10","simplesmtp":"^0.3.27","sinon":"^1.9.0"},"gitHead":"2fbb09d5db8e4790b66e548a2aa6fedc376ec4a9","bugs":{"url":"https://github.com/whiteout-io/smtpclient/issues"},"_id":"wo-smtpclient@0.3.7","_shasum":"ce45baff161a8d41934883941e57157b90d0ab5c","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"felixhammerl","email":"mail@felixhammerl.com"},"maintainers":[{"name":"felixhammerl","email":"mail@felixhammerl.com"},{"name":"tanx","email":"info@tankredhase.de"},{"name":"andris","email":"andris@kreata.ee"}],"dist":{"shasum":"ce45baff161a8d41934883941e57157b90d0ab5c","tarball":"https://registry.npmjs.org/wo-smtpclient/-/wo-smtpclient-0.3.7.tgz","integrity":"sha512-g87iV6Iyw+SEZG+8c8LIkY62AdxC5hIVwg3K4kmTVeyWxIsFQfVb44XCpVAJ1/M33SmtV3S5lZTLZgx5GBIP/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH+5jGH4CxzebrsGd3NZNOHWjQBlql17TfEY0T9GwlyEAiB0+iSqj3zbxvSjCbX3famDf0M1p1bXN+UKya/iQr9O8w=="}]},"deprecated":"Moved to emailjs-smtp-client"},"0.3.8":{"name":"wo-smtpclient","version":"0.3.8","homepage":"https://github.com/whiteout-io/smtpclient","description":"SMTP Client allows you to connect to and stream data to a SMTP server in the browser.","author":{"name":"Andris Reinman","email":"andris@kreata.ee"},"keywords":["SMTP"],"license":"MIT","scripts":{"pretest":"cd node_modules/tcp-socket/node_modules/node-forge/ && npm install && npm run minify && cd ../../../..","test":"grunt"},"repository":{"type":"git","url":"git://github.com/whiteout-io/smtpclient.git"},"main":"src/smtpclient","dependencies":{"tcp-socket":"~0.3.4","wo-stringencoding":"~0.1.1","axe-logger":"~0.0.2"},"devDependencies":{"chai":"~1.8.1","grunt":"~0.4.1","grunt-mocha-phantomjs":"~0.4.0","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-copy":"^0.5.0","grunt-contrib-clean":"^0.5.0","grunt-contrib-watch":"^0.6.1","grunt-mocha-test":"~0.10.0","mocha":"~1.16.2","requirejs":"~2.1.10","simplesmtp":"^0.3.27","sinon":"^1.9.0"},"gitHead":"4347094fb9a666ee6aa783cefd63fa4da45a6773","bugs":{"url":"https://github.com/whiteout-io/smtpclient/issues"},"_id":"wo-smtpclient@0.3.8","_shasum":"1544b177a3f29054c4f7dafa18ab934227a11628","_from":".","_npmVersion":"1.4.26","_npmUser":{"name":"felixhammerl","email":"mail@felixhammerl.com"},"maintainers":[{"name":"felixhammerl","email":"mail@felixhammerl.com"},{"name":"tanx","email":"info@tankredhase.de"},{"name":"andris","email":"andris@kreata.ee"}],"dist":{"shasum":"1544b177a3f29054c4f7dafa18ab934227a11628","tarball":"https://registry.npmjs.org/wo-smtpclient/-/wo-smtpclient-0.3.8.tgz","integrity":"sha512-ToMOZUiW/vK5+yeMXHwEICGiX19xtOYJb7vmC3eaDhn0qR2mSrr5rG6jav2K6IeXuUEjVj/mzoogQHvbOrVTZA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7GyCrOsjxDx5zoRLI6ER2tpN+1pAG2cVDqejjbFRlgwIgY6k60DP7KcCNWD0+hnAzNHq/UGvLiroX4XZiNI+AIoA="}]},"deprecated":"Moved to emailjs-smtp-client"},"0.3.9":{"name":"wo-smtpclient","version":"0.3.9","homepage":"https://github.com/whiteout-io/smtpclient","description":"SMTP Client allows you to connect to and stream data to a SMTP server in the browser.","author":{"name":"Andris Reinman","email":"andris@kreata.ee"},"keywords":["SMTP"],"license":"MIT","scripts":{"pretest":"dir=$(pwd) && cd node_modules/tcp-socket/node_modules/node-forge/ && npm install && npm run minify && cd $dir","test":"grunt"},"repository":{"type":"git","url":"git://github.com/whiteout-io/smtpclient.git"},"main":"src/smtpclient","dependencies":{"tcp-socket":"~0.3.10","wo-stringencoding":"~0.1.1","axe-logger":"~0.0.2"},"devDependencies":{"chai":"~1.8.1","grunt":"~0.4.1","grunt-mocha-phantomjs":"~0.4.0","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-copy":"^0.5.0","grunt-contrib-clean":"^0.5.0","grunt-contrib-watch":"^0.6.1","grunt-mocha-test":"~0.10.0","mocha":"~1.16.2","requirejs":"~2.1.10","simplesmtp":"^0.3.27","sinon":"^1.9.0"},"gitHead":"d638bc8b1c07d71a259b3c843d946e065b3d48c5","bugs":{"url":"https://github.com/whiteout-io/smtpclient/issues"},"_id":"wo-smtpclient@0.3.9","_shasum":"f51e7c74b776c56fea13bb928800fc6e28b421f0","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"felixhammerl","email":"mail@felixhammerl.com"},"maintainers":[{"name":"felixhammerl","email":"mail@felixhammerl.com"},{"name":"tanx","email":"info@tankredhase.de"},{"name":"andris","email":"andris@kreata.ee"}],"dist":{"shasum":"f51e7c74b776c56fea13bb928800fc6e28b421f0","tarball":"https://registry.npmjs.org/wo-smtpclient/-/wo-smtpclient-0.3.9.tgz","integrity":"sha512-bLN8WbPG5j1H4Sh33yHZ6aoR8EE9yhES4noYAvxoci0jU/UkD/aLKmcC65G67D31tE+g+N8BegmBSRAVWH7Jmw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9YstKbvJdwVXhXrJhjiuDh8Y9S5GI7YeF1dpmCOWuMQIgXsesFseWqjUFEr7iIWDerO1d2eHLxtqB6/bX9g0ntpE="}]},"deprecated":"Moved to emailjs-smtp-client"},"0.3.10":{"name":"wo-smtpclient","version":"0.3.10","homepage":"https://github.com/whiteout-io/smtpclient","description":"SMTP Client allows you to connect to and stream data to a SMTP server in the browser.","author":{"name":"Andris Reinman","email":"andris@kreata.ee"},"keywords":["SMTP"],"license":"MIT","scripts":{"pretest":"dir=$(pwd) && cd node_modules/tcp-socket/node_modules/node-forge/ && npm install && npm run minify && cd $dir","test":"grunt"},"repository":{"type":"git","url":"git://github.com/whiteout-io/smtpclient.git"},"main":"src/smtpclient","dependencies":{"tcp-socket":"~0.3.10","wo-stringencoding":"~0.1.1","axe-logger":"~0.0.2"},"devDependencies":{"chai":"~1.8.1","grunt":"~0.4.1","grunt-mocha-phantomjs":"~0.4.0","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-copy":"^0.5.0","grunt-contrib-clean":"^0.5.0","grunt-contrib-watch":"^0.6.1","grunt-mocha-test":"~0.10.0","mocha":"~1.16.2","requirejs":"~2.1.10","simplesmtp":"^0.3.27","sinon":"^1.9.0"},"gitHead":"c6029d87587951bdba4dfe3d738c3fae01b55f9e","bugs":{"url":"https://github.com/whiteout-io/smtpclient/issues"},"_id":"wo-smtpclient@0.3.10","_shasum":"2e2dae170ac4920460a9995e5454d7c433e6feb0","_from":".","_npmVersion":"2.1.2","_nodeVersion":"0.10.32","_npmUser":{"name":"felixhammerl","email":"mail@felixhammerl.com"},"maintainers":[{"name":"felixhammerl","email":"mail@felixhammerl.com"},{"name":"tanx","email":"info@tankredhase.de"},{"name":"andris","email":"andris@kreata.ee"}],"dist":{"shasum":"2e2dae170ac4920460a9995e5454d7c433e6feb0","tarball":"https://registry.npmjs.org/wo-smtpclient/-/wo-smtpclient-0.3.10.tgz","integrity":"sha512-zdUfG77ielvXbK3SnLutu3WbpE7HHq68zWkXQ+2FRCqlFOJEOXAu26IBEK9Ew9MBPKQkc5o17YX/NizG4Uze+w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOyBx1zwU8DyVaITBzUb9C8E5S7lRrZyY3mpEMRfKgjAIhANlo6pNIKEr/7T5gS8n6YCT1JrWfcmhJNku/gCXXgx3w"}]},"deprecated":"Moved to emailjs-smtp-client"},"0.3.11":{"name":"wo-smtpclient","version":"0.3.11","homepage":"https://github.com/whiteout-io/smtpclient","description":"SMTP Client allows you to connect to and stream data to a SMTP server in the browser.","author":{"name":"Andris Reinman","email":"andris@kreata.ee"},"keywords":["SMTP"],"license":"MIT","scripts":{"pretest":"dir=$(pwd) && cd node_modules/tcp-socket/node_modules/node-forge/ && npm install && npm run minify && cd $dir","test":"grunt"},"repository":{"type":"git","url":"git://github.com/whiteout-io/smtpclient.git"},"main":"src/smtpclient","dependencies":{"tcp-socket":"~0.3.10","wo-stringencoding":"~0.1.1","axe-logger":"~0.0.2"},"devDependencies":{"chai":"~1.8.1","grunt":"~0.4.1","grunt-mocha-phantomjs":"~0.4.0","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-copy":"^0.5.0","grunt-contrib-clean":"^0.5.0","grunt-contrib-watch":"^0.6.1","grunt-mocha-test":"~0.10.0","mocha":"~1.16.2","requirejs":"~2.1.10","simplesmtp":"^0.3.27","sinon":"^1.9.0"},"gitHead":"3a4dcbd0ef1c67ce5fa78d419be1182cc626534e","bugs":{"url":"https://github.com/whiteout-io/smtpclient/issues"},"_id":"wo-smtpclient@0.3.11","_shasum":"f35fed1b0543d60fead09a7d3512ff08a517d31d","_from":".","_npmVersion":"2.1.2","_nodeVersion":"0.10.32","_npmUser":{"name":"felixhammerl","email":"mail@felixhammerl.com"},"maintainers":[{"name":"felixhammerl","email":"mail@felixhammerl.com"},{"name":"tanx","email":"info@tankredhase.de"},{"name":"andris","email":"andris@kreata.ee"}],"dist":{"shasum":"f35fed1b0543d60fead09a7d3512ff08a517d31d","tarball":"https://registry.npmjs.org/wo-smtpclient/-/wo-smtpclient-0.3.11.tgz","integrity":"sha512-ZODxgtOVZl07U3ea8XnGFZDwrYW0bGDia4objMH0NfKlH2B8VgESkH3gs4k3TMiLGKA8Ii0/UB/N7pY9wZYqog==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvbpicQUf76S/0oovVYSxptD/lOXNiS1AQxjYauKs6BQIhAN/7BxCbbq1tbnbH05HBAaAFdEP4uYAIQxtRno3WRXoU"}]},"deprecated":"Moved to emailjs-smtp-client"},"0.4.0":{"name":"wo-smtpclient","version":"0.4.0","homepage":"https://github.com/whiteout-io/smtpclient","description":"SMTP Client allows you to connect to and stream data to a SMTP server in the browser.","author":{"name":"Andris Reinman","email":"andris@kreata.ee"},"keywords":["SMTP"],"license":"MIT","scripts":{"pretest":"dir=$(pwd) && cd node_modules/tcp-socket/node_modules/node-forge/ && npm install && npm run minify && cd $dir","test":"grunt"},"repository":{"type":"git","url":"git://github.com/whiteout-io/smtpclient.git"},"main":"src/smtpclient","dependencies":{"tcp-socket":"~0.3.10","wo-stringencoding":"~0.1.1","axe-logger":"~0.0.2"},"devDependencies":{"chai":"~1.8.1","grunt":"~0.4.1","grunt-mocha-phantomjs":"~0.4.0","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-copy":"^0.5.0","grunt-contrib-clean":"^0.5.0","grunt-contrib-watch":"^0.6.1","grunt-mocha-test":"~0.10.0","mocha":"~1.16.2","requirejs":"~2.1.10","simplesmtp":"^0.3.27","sinon":"^1.11.0"},"gitHead":"a47a507a4655043a2b2cf3d734ee5b4938b2f7d4","bugs":{"url":"https://github.com/whiteout-io/smtpclient/issues"},"_id":"wo-smtpclient@0.4.0","_shasum":"d6704195bd527e3031f91bc4fb51e943e90460a3","_from":".","_npmVersion":"2.1.5","_nodeVersion":"0.10.32","_npmUser":{"name":"felixhammerl","email":"mail@felixhammerl.com"},"maintainers":[{"name":"felixhammerl","email":"mail@felixhammerl.com"},{"name":"tanx","email":"info@tankredhase.de"},{"name":"andris","email":"andris@kreata.ee"}],"dist":{"shasum":"d6704195bd527e3031f91bc4fb51e943e90460a3","tarball":"https://registry.npmjs.org/wo-smtpclient/-/wo-smtpclient-0.4.0.tgz","integrity":"sha512-Reelub2v+XTJczSKZIX36KQW3zY4C7NCNCr9PujF8qkVhBTF7vxBSfwiI4doZN9f25l+541g0gmTNmBHqY9O1A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEUDvCIHU4tcgvWMBGjOq8Nu7OAS1YQp6y86HVUwHuvbAiA9Lt6HWfZiN0fHZcuQ3TLcnHqeSDS/wvSajQcWltPaNA=="}]},"deprecated":"Moved to emailjs-smtp-client"},"0.5.0":{"name":"wo-smtpclient","version":"0.5.0","homepage":"https://github.com/whiteout-io/smtpclient","description":"SMTP Client allows you to connect to and stream data to a SMTP server in the browser.","author":{"name":"Andris Reinman","email":"andris@kreata.ee"},"keywords":["SMTP"],"license":"MIT","scripts":{"pretest":"dir=$(pwd) && cd node_modules/tcp-socket/node_modules/node-forge/ && npm install && npm run minify && cd $dir","test":"grunt"},"repository":{"type":"git","url":"git://github.com/whiteout-io/smtpclient.git"},"main":"src/smtpclient","dependencies":{"tcp-socket":"~0.4.0","wo-stringencoding":"~0.1.1","axe-logger":"~0.0.2"},"devDependencies":{"chai":"~1.8.1","grunt":"~0.4.1","grunt-mocha-phantomjs":"~0.4.0","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-copy":"^0.5.0","grunt-contrib-clean":"^0.5.0","grunt-contrib-watch":"^0.6.1","grunt-mocha-test":"~0.10.0","mocha":"~1.16.2","requirejs":"~2.1.10","simplesmtp":"^0.3.27","sinon":"^1.11.0"},"gitHead":"8b23172e612b5e34c361a20bde0b9879b9e7a432","bugs":{"url":"https://github.com/whiteout-io/smtpclient/issues"},"_id":"wo-smtpclient@0.5.0","_shasum":"76399a7313655e95505b80b2815576bcd64514b0","_from":".","_npmVersion":"2.1.5","_nodeVersion":"0.10.32","_npmUser":{"name":"felixhammerl","email":"mail@felixhammerl.com"},"maintainers":[{"name":"felixhammerl","email":"mail@felixhammerl.com"},{"name":"tanx","email":"info@tankredhase.de"},{"name":"andris","email":"andris@kreata.ee"}],"dist":{"shasum":"76399a7313655e95505b80b2815576bcd64514b0","tarball":"https://registry.npmjs.org/wo-smtpclient/-/wo-smtpclient-0.5.0.tgz","integrity":"sha512-s64cRh994J2hqVLZqjTgmTAPuS6Vdhyfq5DGZwgC6Ww3TfBDCeF8uGqhi2HjzXB9mmoCThEtOoXnqNGRk9fICg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDWURgOd6uC8sQBZQgxKg6ZGWSPC0TZHCWADqKtrWKaiAiEA8G+ZsVmRN+9Cu62euS5m0aK6pgUa1ZWVXUOREDxQaWs="}]},"deprecated":"Moved to emailjs-smtp-client"},"0.5.1":{"name":"wo-smtpclient","version":"0.5.1","homepage":"https://github.com/whiteout-io/smtpclient","description":"SMTP Client allows you to connect to and stream data to a SMTP server in the browser.","author":{"name":"Andris Reinman","email":"andris@kreata.ee"},"keywords":["SMTP"],"license":"MIT","scripts":{"pretest":"dir=$(pwd) && cd node_modules/tcp-socket/node_modules/node-forge/ && npm install && npm run minify && cd $dir","test":"grunt"},"repository":{"type":"git","url":"git://github.com/whiteout-io/smtpclient.git"},"main":"src/smtpclient","dependencies":{"tcp-socket":"~0.4.0","wo-stringencoding":"~0.1.1","axe-logger":"~0.0.2"},"devDependencies":{"chai":"~1.8.1","grunt":"~0.4.1","grunt-mocha-phantomjs":"~0.4.0","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-copy":"^0.5.0","grunt-contrib-clean":"^0.5.0","grunt-contrib-watch":"^0.6.1","grunt-mocha-test":"~0.10.0","mocha":"~1.16.2","requirejs":"~2.1.10","simplesmtp":"^0.3.27","sinon":"^1.11.0"},"gitHead":"e2447e1bd53ae50fb3c05c852d5f27d3a26687e9","bugs":{"url":"https://github.com/whiteout-io/smtpclient/issues"},"_id":"wo-smtpclient@0.5.1","_shasum":"e378d244e1bf2979f75adcf7ec590b3c6bf67421","_from":".","_npmVersion":"2.1.6","_nodeVersion":"0.10.32","_npmUser":{"name":"felixhammerl","email":"mail@felixhammerl.com"},"maintainers":[{"name":"felixhammerl","email":"mail@felixhammerl.com"},{"name":"tanx","email":"info@tankredhase.de"},{"name":"andris","email":"andris@kreata.ee"}],"dist":{"shasum":"e378d244e1bf2979f75adcf7ec590b3c6bf67421","tarball":"https://registry.npmjs.org/wo-smtpclient/-/wo-smtpclient-0.5.1.tgz","integrity":"sha512-5M7x0vMrWlzzMGuEUFWu8wSbNNCk9/lTZaDTIBonDAFEc8S72VYiQUY091E/aRpB/RYdSq0bqPAoTd5BUUs3Pg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA2HLltFuJpk0p7WY85E/Yv8p6qG0RSYVTMgrlPvttXnAiEA15T+8Py9UHWwE61v8lWjCa25mQUef7n4p0vOEf48rcg="}]},"deprecated":"Moved to emailjs-smtp-client"},"0.5.2":{"name":"wo-smtpclient","version":"0.5.2","homepage":"https://github.com/whiteout-io/smtpclient","description":"SMTP Client allows you to connect to and stream data to a SMTP server in the browser.","author":{"name":"Andris Reinman","email":"andris@kreata.ee"},"keywords":["SMTP"],"license":"MIT","scripts":{"pretest":"dir=$(pwd) && cd node_modules/tcp-socket/node_modules/node-forge/ && npm install && npm run minify && cd $dir","test":"grunt"},"repository":{"type":"git","url":"git://github.com/whiteout-io/smtpclient.git"},"main":"src/smtpclient","dependencies":{"tcp-socket":"~0.4.0","wo-stringencoding":"~0.1.1","axe-logger":"~0.0.2"},"devDependencies":{"chai":"~1.8.1","grunt":"~0.4.1","grunt-mocha-phantomjs":"~0.4.0","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-copy":"^0.5.0","grunt-contrib-clean":"^0.5.0","grunt-contrib-watch":"^0.6.1","grunt-mocha-test":"~0.10.0","mocha":"~1.16.2","requirejs":"~2.1.10","simplesmtp":"^0.3.27","sinon":"^1.11.0"},"gitHead":"3394b15bf02ffafb67cd8fe85f04c4d169b091b3","bugs":{"url":"https://github.com/whiteout-io/smtpclient/issues"},"_id":"wo-smtpclient@0.5.2","_shasum":"7efe7e10bd2ba2e5df5ca29047ae16862d616fb9","_from":".","_npmVersion":"2.1.7","_nodeVersion":"0.10.33","_npmUser":{"name":"felixhammerl","email":"mail@felixhammerl.com"},"maintainers":[{"name":"felixhammerl","email":"mail@felixhammerl.com"},{"name":"tanx","email":"info@tankredhase.de"},{"name":"andris","email":"andris@kreata.ee"}],"dist":{"shasum":"7efe7e10bd2ba2e5df5ca29047ae16862d616fb9","tarball":"https://registry.npmjs.org/wo-smtpclient/-/wo-smtpclient-0.5.2.tgz","integrity":"sha512-L2rufSEW7aCGKE5VTgnyek/MW6wyMXH1y0n491VmE+nVqmwsf1UMs10cEZUZeSuEaD9mw0Cy2o7YLFhF/P+SfQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCBl/jMBiFytR9gG1qFiHgLNWB+qZS+mM4fDnpSAxOgjwIhAMg7fE6GZ7TfpMeEkEj/9u4833xlmwLWkzf3xFa1VODy"}]},"deprecated":"Moved to emailjs-smtp-client"},"0.5.3":{"name":"wo-smtpclient","version":"0.5.3","homepage":"https://github.com/whiteout-io/smtpclient","description":"SMTP Client allows you to connect to and stream data to a SMTP server in the browser.","author":{"name":"Andris Reinman","email":"andris@kreata.ee"},"keywords":["SMTP"],"license":"MIT","scripts":{"pretest":"dir=$(pwd) && cd node_modules/tcp-socket/node_modules/node-forge/ && npm install && npm run minify && cd $dir","test":"grunt"},"repository":{"type":"git","url":"git://github.com/whiteout-io/smtpclient.git"},"main":"src/smtpclient","dependencies":{"tcp-socket":"~0.4.0","wo-stringencoding":"~0.1.1","axe-logger":"~0.0.2"},"devDependencies":{"chai":"~1.8.1","grunt":"~0.4.1","grunt-mocha-phantomjs":"~0.4.0","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-copy":"^0.5.0","grunt-contrib-clean":"^0.5.0","grunt-contrib-watch":"^0.6.1","grunt-mocha-test":"~0.10.0","mocha":"~1.16.2","requirejs":"~2.1.10","simplesmtp":"^0.3.27","sinon":"^1.11.0"},"gitHead":"ee94921d19cb08772f1697f29b48ce15989f9bdc","bugs":{"url":"https://github.com/whiteout-io/smtpclient/issues"},"_id":"wo-smtpclient@0.5.3","_shasum":"6a4d6d3e61bb6fce818b598db047fa8315d191b5","_from":".","_npmVersion":"2.1.7","_nodeVersion":"0.10.33","_npmUser":{"name":"felixhammerl","email":"mail@felixhammerl.com"},"maintainers":[{"name":"felixhammerl","email":"mail@felixhammerl.com"},{"name":"tanx","email":"info@tankredhase.de"},{"name":"andris","email":"andris@kreata.ee"}],"dist":{"shasum":"6a4d6d3e61bb6fce818b598db047fa8315d191b5","tarball":"https://registry.npmjs.org/wo-smtpclient/-/wo-smtpclient-0.5.3.tgz","integrity":"sha512-FGqtIfDLhQakWgYI+5+dLLPMSnaPTGPGHDSmE1yE/J2lzVZ0oA0v8TxBZy69T/3nVcVN5nyjsSm8Z2vFGgLLzg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/kGhiu5QIcGpp65c2LgQZGCDlvMOZB7/CP/MV0Uty9gIhAJ8aTM6DXLtCCSvM9TJGFQl0JCGolUj1jZ7WtsR2B7EO"}]},"deprecated":"Moved to emailjs-smtp-client"},"0.6.0":{"name":"wo-smtpclient","version":"0.6.0","homepage":"https://github.com/whiteout-io/smtpclient","description":"SMTP Client allows you to connect to and stream data to a SMTP server in the browser.","author":{"name":"Andris Reinman","email":"andris@kreata.ee"},"keywords":["SMTP"],"license":"MIT","scripts":{"pretest":"dir=$(pwd) && cd node_modules/tcp-socket/node_modules/node-forge/ && npm install && npm run minify && cd $dir","test":"grunt"},"repository":{"type":"git","url":"git://github.com/whiteout-io/smtpclient.git"},"main":"src/smtpclient","dependencies":{"tcp-socket":"~0.5.0","wo-stringencoding":"~0.1.1","axe-logger":"~0.0.2"},"devDependencies":{"chai":"~1.8.1","grunt":"~0.4.1","grunt-mocha-phantomjs":"~0.4.0","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-copy":"^0.5.0","grunt-contrib-clean":"^0.5.0","grunt-contrib-watch":"^0.6.1","grunt-mocha-test":"~0.10.0","mocha":"~1.16.2","requirejs":"~2.1.10","simplesmtp":"^0.3.27","sinon":"^1.11.0"},"gitHead":"91c9d44b7f4453fda28f2f6e230b4ac9ff515912","bugs":{"url":"https://github.com/whiteout-io/smtpclient/issues"},"_id":"wo-smtpclient@0.6.0","_shasum":"5649ca45c99f599d665ce3278e55e85b424dee68","_from":".","_npmVersion":"2.1.17","_nodeVersion":"0.10.35","_npmUser":{"name":"felixhammerl","email":"mail@felixhammerl.com"},"maintainers":[{"name":"felixhammerl","email":"mail@felixhammerl.com"},{"name":"tanx","email":"info@tankredhase.de"},{"name":"andris","email":"andris@kreata.ee"}],"dist":{"shasum":"5649ca45c99f599d665ce3278e55e85b424dee68","tarball":"https://registry.npmjs.org/wo-smtpclient/-/wo-smtpclient-0.6.0.tgz","integrity":"sha512-8H+HKK5wA25SWwHtWLj3b7NRnAfZQ+VeV8d+0nfrgu46g7eaDQ4N13DTrbCVO0G/197ZsAOGUPOT1wIJbh/qrQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIDTw7LGKsj0VjN9cPRgG198fmOByx+Gpb3qnlVPkbxgIhAO9F3Hpp7b2Ne1vmHLEyAjB7ZeI6wDWNSqDFkn2H+V2e"}]},"deprecated":"Moved to emailjs-smtp-client"},"0.6.1":{"name":"wo-smtpclient","version":"0.6.1","homepage":"https://github.com/whiteout-io/smtpclient","description":"SMTP Client allows you to connect to and stream data to a SMTP server in the browser.","author":{"name":"Andris Reinman","email":"andris@kreata.ee"},"keywords":["SMTP"],"license":"MIT","scripts":{"pretest":"dir=$(pwd) && cd node_modules/tcp-socket/node_modules/node-forge/ && npm install && npm run minify && cd $dir","test":"grunt"},"repository":{"type":"git","url":"git://github.com/whiteout-io/smtpclient.git"},"main":"src/smtpclient","dependencies":{"tcp-socket":"~0.5.0","wo-stringencoding":"~0.1.1","axe-logger":"~0.0.2"},"devDependencies":{"chai":"~1.8.1","grunt":"~0.4.1","grunt-mocha-phantomjs":"~0.4.0","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-copy":"^0.5.0","grunt-contrib-clean":"^0.5.0","grunt-contrib-watch":"^0.6.1","grunt-mocha-test":"~0.10.0","mocha":"~1.16.2","requirejs":"~2.1.10","simplesmtp":"^0.3.27","sinon":"^1.11.0"},"gitHead":"11b5595d2dcad880a2e4c50d28d0f207accf94ab","bugs":{"url":"https://github.com/whiteout-io/smtpclient/issues"},"_id":"wo-smtpclient@0.6.1","_shasum":"8a5a43f652dbaafa721e0107c3d1d745c74bf915","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"felixhammerl","email":"mail@felixhammerl.com"},"maintainers":[{"name":"felixhammerl","email":"mail@felixhammerl.com"},{"name":"tanx","email":"info@tankredhase.de"},{"name":"andris","email":"andris@kreata.ee"}],"dist":{"shasum":"8a5a43f652dbaafa721e0107c3d1d745c74bf915","tarball":"https://registry.npmjs.org/wo-smtpclient/-/wo-smtpclient-0.6.1.tgz","integrity":"sha512-uwMrIV0bINTCnhmyjiN1Ofdi8quZ9VQm1svDeTZEP0n+rquLZncXYLqgANiM295zyG22Tm8md1qHwmtvEyvQlg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICHzS8LAr3IucN1ldjVXhl+7bKPOIgrVOR0XloR4QZPNAiAezOZaQNamlMpkoPKtOQUJBo3oWiURPwx4u7ANy1zuwQ=="}]},"deprecated":"Moved to emailjs-smtp-client"}},"readme":"# SMTP Client\n\nSMTP Client allows you to connect to and stream data to a SMTP server in the browser.\n\n[![Build Status](https://travis-ci.org/whiteout-io/smtpclient.png?branch=master)](https://travis-ci.org/whiteout-io/smtpclient)\n\n## StringEncoding API\n\nThis module requires `TextEncoder` and `TextDecoder` to exist as part of the StringEncoding API (see: [MDN](https://developer.mozilla.org/en-US/docs/WebAPI/Encoding_API) [whatwg.org](http://encoding.spec.whatwg.org/#api)). Firefox 19+ is basically the only browser that supports this at the time of writing, while [Chromium in canary, not stable](https://code.google.com/p/chromium/issues/detail?id=243354). Luckily, [there is a polyfill](https://github.com/whiteout-io/stringencoding)!\n\nDepending on your browser, you might need [this polyfill for ArrayBuffer #slice](https://github.com/ttaubert/node-arraybuffer-slice), e.g. phantomjs.\n\n## TCPSocket API\n\nThere is a [shim](https://github.com/whiteout-io/tcp-socket) that brings [Mozilla-flavored](https://developer.mozilla.org/en-US/docs/WebAPI/TCP_Socket) version of the [Raw Socket API](http://www.w3.org/TR/raw-sockets/) to other platforms.\n\nIf you are on a platform that uses forge instead of a native TLS implementation (e.g. chrome.socket), you have to set the .oncert(pemEncodedCertificate) handler that passes the TLS certificate that the server presents. It can be used on a trust-on-first-use basis for subsequent connection.\n\nIf forge is used to handle TLS traffic, you may choose to handle the TLS-related load in a Web Worker. Please use tlsWorkerPath to point to `tcp-socket-tls-worker.js`!\n\nPlease take a look at the [tcp-socket documentation](https://github.com/whiteout-io/tcp-socket) for more information!\n\n## Installation\n\n### [npm](https://www.npmjs.org/):\n\n    npm install --save wo-smtpclient\n\n## Quirks\n\n  * `STARTTLS` is currently not supported\n  * Only `PLAIN`, `USER` and `XOAUTH2` authentication mechanisms are supported. `XOAUTH2` expects a ready to use access token, no tokens are generated automatically.\n\n## Usage\n\n### AMD\n\nRequire [smtpclient.js](src/smtpclient.js) as `smtpclient`\n\n### Global context\n\nInclude files [smtpclient-response-parser.js](src/smtpclient-response-parser.js) and [smtpclient.js](src/smtpclient.js) on the page.\n\n```html\n<script src=\"smtpclient-response-parser.js\"></script>\n<script src=\"smtpclient.js\"></script>\n```\n\nThis exposes global variable `SmtpClient`\n\n## API\n\nCreate `SmtpClient` object with:\n\n```javascript\nvar client = new SmtpClient(host, port, options)\n```\n\nwhere\n\n  * **host** is the hostname to connect to (defaults to \"localhost\")\n  * **port** is the port to connect to\n  * **options** is an optional options object (see below)\n\n## Connection options\n\nThe following connection options can be used with `simplesmtp.connect`:\n\n  * **useSecureTransport** *Boolean* Set to true, to use encrypted connection\n  * **name** *String* Client hostname for introducing itself to the server\n  * **auth** *Object* Authentication options. Depends on the preferred authentication method\n    * **user** is the username for the user (also applies to OAuth2)\n    * **pass** is the password for the user if plain auth is used\n    * **xoauth2** is the OAuth2 access token to be used instead of password. If both password and xoauth2 token are set, the token is preferred.\n  * **authMethod** *String* Force specific authentication method (eg. `\"PLAIN\"` for using `AUTH PLAIN` or `\"XOAUTH2\"` for `AUTH XOAUTH2`)\n  * **ca** (optional) (only in conjunction with this [TCPSocket shim](https://github.com/whiteout-io/tcp-socket)) if you use TLS with forge, pin a PEM-encoded certificate as a string. Please refer to the [tcp-socket documentation](https://github.com/whiteout-io/tcp-socket) for more information!\n  * **tlsWorkerPath** (optional) (only in conjunction with this [TCPSocket shim](https://github.com/whiteout-io/tcp-socket)) if you use TLS with forge, this path indicates where the file for the TLS Web Worker is located. Please refer to the [tcp-socket documentation](https://github.com/whiteout-io/tcp-socket) for more information!\n  * **disableEscaping** *Boolean* If set to true, do not escape dots on the beginning of the lines\n  * **logLength** *Number* How many messages between the client and the server to log. Set to false to disable logging. Defaults to 6\n  * **ignoreTLS** – if set to true, do not issue STARTTLS even if the server supports it\n  * **requireTLS** – if set to true, always use STARTTLS before authentication even if the host does not advertise it. If STARTTLS fails, do not try to authenticate the user\n  * **lmtp** - if set to true use LMTP commands instead of SMTP commands\n\nDefault STARTTLS support is opportunistic – if the server advertises STARTTLS in EHLO response, the client tries to use it. If STARTTLS is not advertised, the clients sends passwords in the plain. You can use `ignoreTLS` and `requireTLS` to change this behavior by explicitly enabling or disabling STARTTLS usage.\n\n### XOAUTH2\n\nTo authenticate using XOAUTH2, use the following authentication config\n\n```javascript\nvar config = {\n    auth: {\n      user: 'username',\n      xoauth2: 'access_token'\n  }\n};\n```\n\nSee [XOAUTH2 docs](https://developers.google.com/gmail/xoauth2_protocol#smtp_protocol_exchange) for more info.\n\n## Connection events\n\nOnce a connection is set up the following events can be listened to:\n\n  * **onidle** - the connection to the SMTP server has been successfully set up and the client is waiting for an envelope. **NB!** this event is emitted multiple times - if an e-mail has been sent and the client has nothing to do, `onidle` is emitted again.\n  * **onready** `(failedRecipients)` - the envelope is passed successfully to the server and a message stream can be started. The argument is an array of e-mail addresses not accepted as recipients by the server. If none of the recipient addresses is accepted, `onerror` is emitted instead.\n  * **ondone** `(success)` - the message was sent\n  * **onerror** `(err)` - An error occurred. The connection will be closed shortly afterwards, so expect an `onclose` event as well\n  * **onclose** `(isError)` - connection to the client is closed. If `isError` is true, the connection is closed because of an error\n\nExample:\n\n```javascript\nclient.onidle = function(){\n    console.log(\"Connection has been established\");\n    // this event will be called again once a message has been sent\n    // so do not just initiate a new message here, as infinite loops might occur\n}\n```\n\n## Sending an envelope\n\nWhen an `onidle` event is emitted, an envelope object can be sent to the server.\nThis includes a string `from` and a single string or an array of strings for `to` property.\n\nEnvelope can be sent with `client.useEnvelope(envelope)`\n\n```javascript\n// run only once as 'idle' is emitted again after message delivery\nvar alreadySending = false;\n\nclient.onidle = function(){\n    if(alreadySending){\n        return;\n    }\n    alreadySending = true;\n    client.useEnvelope({\n        from: \"me@example.com\",\n        to: [\"receiver1@example.com\", \"receiver2@example.com\"]\n    });\n}\n```\n\nThe `to` part of the envelope must include **all** recipients from `To:`, `Cc:` and `Bcc:` fields.\n\nIf envelope setup up fails, an error is emitted. If only some (not all)\nrecipients are not accepted, the mail can still be sent. An `onready` event\nis emitted when the server has accepted the `from` and at least one `to`\naddress.\n\n```javascript\nclient.onready = function(failedRecipients){\n    if(failedRecipients.length){\n        console.log(\"The following addresses were rejected: \", failedRecipients);\n    }\n    // start transfering the e-mail\n}\n```\n\n## Sending a message\n\nWhen `onready` event is emitted, it is possible to start sending mail. To do this\nyou can send the message with `client.send` calls (you also need to call `client.end()` once\nthe message is completed).\n\n`send` method returns the state of the downstream buffer - if it returns `true`, it is safe to send more data, otherwise you should (but don't have to) wait for the `ondrain` event before you send more data.\n\n**NB!** you do not have to escape the dots in the beginning of the lines by yourself (unless you specificly define so with `disableEscaping` option).\n\n```javascript\nclient.onready = function(){\n    client.send(\"Subject: test\\r\\n\");\n    client.send(\"\\r\\n\");\n    client.send(\"Message body\");\n    client.end();\n}\n```\n\nOnce the message is delivered an `ondone` event is emitted. The event has an\nparameter which indicates if the message was accepted by the server (`true`) or not (`false`).\n\n```\nclient.ondone = function(success){\n    if(success){\n        console.log(\"The message was transmitted successfully with \"+response);\n    }\n}\n```\n\n## Logging\n\nAt any time you can access the traffic log between the client and the server from the `client.log` array.\n\n```javascript\nclient.ondone = function(success){\n    // show the last message\n    console.log(client.log.slice(-1));\n}\n```\n\n## Closing the connection\n\nOnce you have done sending messages and do not want to keep the connection open, you can gracefully close the connection with `client.quit()` or non-gracefully (if you just want to shut down the connection and do not care for the server) with `client.close()`.\n\nIf you run `quit` or `close` in the `ondone` event, then the next `onidle` is never called.\n\n## Get your hands dirty\n\n    git clone git@github.com:whiteout-io/smtpclient.git\n    cd smtpclient\n    npm install && npm test\n\nTo run the integration tests against a local smtp server\n\n    grunt smtp\n    add the test folder as a chrome app (chrome settings -> extensions -> check 'developer mode' -> load unpacked extension)\n\n## License\n\n    Copyright (c) 2013 Andris Reinman\n\n    Permission is hereby granted, free of charge, to any person obtaining a copy\n    of this software and associated documentation files (the \"Software\"), to deal\n    in the Software without restriction, including without limitation the rights\n    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n    copies of the Software, and to permit persons to whom the Software is\n    furnished to do so, subject to the following conditions:\n\n    The above copyright notice and this permission notice shall be included in\n    all copies or substantial portions of the Software.\n\n    THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n    THE SOFTWARE.\n","maintainers":[{"name":"felixhammerl","email":"mail@felixhammerl.com"},{"name":"tanx","email":"info@tankredhase.de"},{"name":"andris","email":"andris@kreata.ee"}],"time":{"modified":"2022-06-29T02:59:05.346Z","created":"2014-07-25T10:22:17.466Z","0.3.3":"2014-07-25T10:22:17.466Z","0.3.5":"2014-07-25T14:17:48.381Z","0.3.6":"2014-07-28T12:39:39.649Z","0.3.7":"2014-09-04T07:23:02.356Z","0.3.8":"2014-09-22T09:50:22.575Z","0.3.9":"2014-10-07T10:47:20.837Z","0.3.10":"2014-10-14T09:51:09.210Z","0.3.11":"2014-10-14T16:47:40.509Z","0.4.0":"2014-10-29T09:53:36.846Z","0.5.0":"2014-10-29T12:58:04.206Z","0.5.1":"2014-11-10T09:28:21.869Z","0.5.2":"2014-11-18T08:41:21.560Z","0.5.3":"2014-11-18T14:13:11.117Z","0.6.0":"2015-01-21T11:18:47.946Z","0.6.1":"2015-04-17T10:25:17.792Z"},"homepage":"https://github.com/whiteout-io/smtpclient","keywords":["SMTP"],"repository":{"type":"git","url":"git://github.com/whiteout-io/smtpclient.git"},"author":{"name":"Andris Reinman","email":"andris@kreata.ee"},"bugs":{"url":"https://github.com/whiteout-io/smtpclient/issues"},"license":"MIT","readmeFilename":"README.md"}