by whileonebegin · 12y ago · 0 comments
email.send({
host : "smtp.gmail.com", // smtp server hostname
port : "465", // smtp server port
ssl: true,
domain : "localhost", // domain used by client to identify itself to server
to : "recipient@somewhere.com",
from : 'sender@somewhere.com',
subject : 'My Subject',
body: 'Blah\nBlah\nBlah.,
authentication : "login", // auth login is supported; anything else is no auth
username : '',
password : ''
},
function (err, result) {
});