Permalink
Browse files

updated structure, added stub test

  • Loading branch information...
1 parent 93f2d1f commit 92101e7764a5de60a65f07ccc910ade4fd3443f3 Andris Reinman committed Feb 10, 2012
Showing with 5,447 additions and 27 deletions.
  1. +11 −0 .travis.yml
  2. +2 −0 README.md
  3. +2 −2 examples/example_sendmail.js
  4. +2 −2 examples/example_ses.js
  5. +6 −2 examples/example_smtp.js
  6. +358 −0 jsdoc/css/all.css
  7. BIN jsdoc/css/fonts/mplus-1m-bold-webfont.eot
  8. +134 −0 jsdoc/css/fonts/mplus-1m-bold-webfont.svg
  9. BIN jsdoc/css/fonts/mplus-1m-bold-webfont.ttf
  10. BIN jsdoc/css/fonts/mplus-1m-bold-webfont.woff
  11. BIN jsdoc/css/fonts/mplus-1m-regular-webfont.eot
  12. +134 −0 jsdoc/css/fonts/mplus-1m-regular-webfont.svg
  13. BIN jsdoc/css/fonts/mplus-1m-regular-webfont.ttf
  14. BIN jsdoc/css/fonts/mplus-1m-regular-webfont.woff
  15. +217 −0 jsdoc/css/handheld.css
  16. +297 −0 jsdoc/css/screen.css
  17. +173 −0 jsdoc/files.html
  18. +114 −0 jsdoc/index.html
  19. +326 −0 jsdoc/javascript/all.js
  20. +6 −0 jsdoc/javascript/html5.js
  21. +616 −0 jsdoc/symbols/Nodemailer.html
  22. +757 −0 jsdoc/symbols/SESTransport.html
  23. +406 −0 jsdoc/symbols/SMTPTransport.html
  24. +297 −0 jsdoc/symbols/SendmailTransport.html
  25. +358 −0 jsdoc/symbols/Transport.html
  26. +124 −0 jsdoc/symbols/_global_.html
  27. +45 −0 jsdoc/symbols/src/Nodemailer_lib_engines_sendmail.js.html
  28. +222 −0 jsdoc/symbols/src/Nodemailer_lib_engines_ses.js.html
  29. +109 −0 jsdoc/symbols/src/Nodemailer_lib_engines_smtp.js.html
  30. +210 −0 jsdoc/symbols/src/Nodemailer_lib_mail.js.html
  31. +76 −0 jsdoc/symbols/src/Nodemailer_lib_transport.js.html
  32. +66 −0 jsdoc/symbols/src/Nodemailer_lib_wellknown.js.html
  33. +10 −0 lib/engines/sendmail.js
  34. +73 −10 lib/engines/ses.js
  35. +45 −7 lib/engines/smtp.js
  36. +206 −0 lib/nodemailer.js
  37. +27 −2 lib/transport.js
  38. +1 −1 lib/wellknown.js
  39. +4 −1 package.json
  40. +2 −0 run_tests.js
  41. +11 −0 test/nodemailer.js
View
@@ -0,0 +1,11 @@
+language: node_js
+node_js:
+ - 0.6
+ - 0.7
+
+notifications:
+ email:
+ recipients:
+ - andris@node.ee
+ on_success: change
+ on_failure: change
View
@@ -3,6 +3,8 @@ Nodemailer
This is a project for a new version of Nodemailer, built from scratch.
+[Autogenerated docs](http://www.node.ee/maildoc/)
+
## Well known services for SMTP
If you want to use a well known service as the SMTP host, you do not need
@@ -12,10 +12,10 @@ var message = {
transport: transport,
// sender info
- from: 'Sender Name <andris@node.ee>',
+ from: 'Sender Name <sender@example.com>',
// Comma separated list of recipients
- to: '"Receiver Name" <andris.reinman@gmail.com>',
+ to: '"Receiver Name" <receiver@example.com>',
// Subject of the message
subject: 'Nodemailer is unicode friendly ✔', //
@@ -16,10 +16,10 @@ var message = {
transport: transport,
// sender info
- from: 'Sender Name <andris@node.ee>',
+ from: 'Sender Name <sender@example.com>',
// Comma separated list of recipients
- to: '"Receiver Name" <andris.reinman@gmail.com>',
+ to: '"Receiver Name" <receiver@example.com>',
// Subject of the message
subject: 'Nodemailer is unicode friendly ✔', //
@@ -18,14 +18,18 @@ var message = {
transport: transport,
// sender info
- from: 'Sender Name <andris@node.ee>',
+ from: 'Sender Name <sender@example.com>',
// Comma separated list of recipients
- to: '"Receiver Name" <andris.reinman@gmail.com>',
+ to: '"Receiver Name" <receiver@example.com>',
// Subject of the message
subject: 'Nodemailer is unicode friendly ✔', //
+ headers: {
+ 'X-Laziness-level': 1000,
+ },
+
// plaintext body
text: 'Hello to myself!',
Oops, something went wrong.

0 comments on commit 92101e7

Please sign in to comment.