node_mailer
node_mailer copied to clipboard
got 503 smtp error
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