Permalink
Browse files

some minor housekeeping

  • Loading branch information...
1 parent 2c3563f commit 06eb6cb3e566008d66251dc3a56b4b34ae224d07 Andris Reinman committed Feb 21, 2012
Showing with 10 additions and 8 deletions.
  1. +2 −0 README.md
  2. +1 −1 examples/example_sendmail.js
  3. +1 −1 examples/example_ses.js
  4. +1 −1 examples/example_smtp.js
  5. +1 −1 lib/helpers.js
  6. +1 −1 lib/nodemailer.js
  7. +1 −1 lib/transport.js
  8. +2 −2 test/nodemailer.js
View
@@ -4,6 +4,8 @@ Nodemailer
**Nodemailer** is an easy to use module to send e-mails with Node.JS (using
SMTP or sendmail) and is unicode friendly - You can use any characters you like ✔
+Nodemailer is Windows friendly, you can install it with *npm* on Windows just like any other module, there are no compiled dependencies. Use it from Azure or from your Windows box hassle free.
+
This version of Nodemailer is built from scratch and might break some existing scripts, so beware while upgrading.
[Autogenerated docs](http://www.node.ee/maildoc/)
@@ -1,4 +1,4 @@
-var nodemailer = require('../lib/mail');
+var nodemailer = require('../lib/nodemailer');
// Create a Sendmail transport object
var transport = nodemailer.createTransport("Sendmail", "/usr/sbin/sendmail");
@@ -1,4 +1,4 @@
-var nodemailer = require('../lib/mail');
+var nodemailer = require('../lib/nodemailer');
// Create an Amazon SES transport object
var transport = nodemailer.createTransport("SES", {
@@ -1,4 +1,4 @@
-var nodemailer = require('../lib/mail');
+var nodemailer = require('../lib/nodemailer');
// Create a SMTP transport object
var transport = nodemailer.createTransport("SMTP", {
View
@@ -141,7 +141,7 @@ function stripHTML(str){
return "\n-\u0001\u0001--\u0001\u0001--\u0001\u0001--\u0001\u0001-" + spaces;
});
- content = content.replace(/</g,"&lt;").replace(/>/g,"&gt;")
+ content = content.replace(/</g,"&lt;").replace(/>/g,"&gt;");
// add prepending 4 spaces
return "\n-\u0001\u0001--\u0001\u0001--\u0001\u0001--\u0001\u0001-" + content.trim() + "\n\n";
View
@@ -7,7 +7,7 @@ var Transport = require("./transport").Transport,
* Version constants
*/
var X_MAILER_NAME = "Nodemailer",
- X_MAILER_VERSION = "0.3.2; +http://www.nodemailer.org";
+ X_MAILER_VERSION = "0.3.3; +http://www.nodemailer.org";
// Export createTransport method
View
@@ -6,7 +6,7 @@ var SendmailTransport = require("./engines/sendmail"),
// Expose to the world
module.exports.createTransport = function(type, options){
return new Transport(type, options); // this way the "new" is optional
-}
+};
module.exports.Transport = Transport;
View
@@ -8,7 +8,7 @@ exports["General tests"] = {
var mail = new nodemailer.Nodemailer();
test.done();
}
-}
+};
exports["Transport close"] = {
"SMTP - Callback in transport.close": function(test){
@@ -59,4 +59,4 @@ exports["Transport close"] = {
test.done();
});
}
-}
+};

0 comments on commit 06eb6cb

Please sign in to comment.