got 503 smtp error #31

Open
dready92 opened this Issue Jun 29, 2011 · 0 comments

Comments

Projects
None yet
1 participant

Hello,

just trying your lib, I can't even send a mail...

Got the error:

{ stack: [Getter/Setter],
  arguments: undefined,
  type: undefined,
  message: '503 sender not yet given\r' }

Here is my test file :

var email = require("mailer");
email.send({
  host : "localhost",              // smtp server hostname
  port : "25",                     // smtp server port
  to : "somewhere@free.fr",
  from : "root",
  subject : "node_mailer mémé test email",
  body: "Hello! This is a test & bière of the node_mailer."
},
function(err, result){
  if(err){ console.log(err); }
});

(Ubuntu, email server on localhost is exim).

regards,

Mickael

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment