Mail.send({ host:'smtp.example.com', port:587, secure:false, auth: { user:'admin', pass:'rosebud' }},{ from:'"Sender Name" <sender@example.com>', to:'someone.else@example.com', subject:'Hello!', text:'This is the plain text body (optional)!', html:'This is the <b>HTML</b> body!'})// You can also send to multiple recipients and even add attachments:Mail.send(smtpSettings,// For brevity, assume this is already defined{ from:'"Sender Name" <sender@example.com>', to: ['someone.else@example.com','another.one@example.com'], cc: ['cc1@example.com','cc2@example.com'], bcc: ['bcc1@xample.com','bcc2@example.com], subject: 'Hello!', html: 'This is the <b>HTML</b> body with embedded image: <img src="cid:Logo"/>' attachments: [ { filename:'text1.txt', content:'hello world!' }, { filename:'text2.txt', content:'goodbye world!' }, { filename:'logo.png', cid:'Logo', path:'data:image/png;base64,[Base64 encoded image here]' }, ]})