I am trying to send mail by using nodemailer's mail api from express js server on microsoft azure. It's getting success in local machine but not on azure server(remote). Any idea?
var mail = require("nodemailer").mail;
mail({from: "from@gmail.com", // sender address
to: "to@gmail.com", // list of receivers
subject: "subject", // Subject line
text: "text", // plaintext body
html: "<b>helloworld</b>" // html body
});
thanks, av