Permalink
Browse files

Fixing a few issues with sending and the naming of a require()'d module

  • Loading branch information...
1 parent 357738a commit 60801ad5b793a6b6d5140e22b1519bc7389c3e96 @miksago miksago committed Jan 18, 2010
Showing with 7 additions and 7 deletions.
  1. +6 −6 examples/example-client.js
  2. +1 −1 lib/smtp/packetHandler.js
View
@@ -11,12 +11,12 @@ var smtp = require("../lib/smtp");
var client = new smtp.Client();
-var message = "Date: "+(new Date()).toString()+" \
-From: Node-SMTP <"+config.from+">\
-Subject:\tNode SMTP Works!\
-To: <"+config.to+"\
-So, It looks like node-smtp all works, which is great news! Time for some sleep I think though.\
-\
+var message = "Date: "+(new Date()).toString()+"\n\
+From: Node-SMTP <"+config.from+">\n\
+To: <"+config.to+"\n\
+Subject: Node SMTP Works!\n\
+So, It looks like node-smtp all works, which is great news! Time for some sleep I think though.\n\
+\n\
G'night Micheil.";
client.connect(config.port, config.host).addCallback(function(){
@@ -14,7 +14,7 @@
// Global
var sys = require("sys");
// Local
-var Queue = require("../vendor/eventEmitter");
+var EventEmitter = require("../vendor/eventEmitter");
var Queue = require("../vendor/Queue/lib/Queue").Queue;
/*-----------------------------------------------

0 comments on commit 60801ad

Please sign in to comment.