node_mailer icon indicating copy to clipboard operation
node_mailer copied to clipboard

got 503 smtp error

Open dready92 opened this issue 14 years ago • 0 comments

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 : "[email protected]",
  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

dready92 avatar Jun 29 '11 13:06 dready92