node-red-contrib-nodemailer-adapter 1.0.0

Node-RED nodes to send emails by nodemailer

npm install node-red-contrib-nodemailer-adapter

#node-red-contrib-nodemailer-adapter

Node-Red node contrib node to send emails nodemailer. It is simple adapter for call nodemailer functions:

  • nodemailer.createTransport(transport)
  • transporter.sendMail(data)

##Install

Run the following command in the root directory of your Node-RED install

npm install node-red-contrib-nodemailer-adapter

##Usage The mailer node's call is equivalent this JavaScript code based on nodemailer:

var transporter = nodemailer.createTransport(transport)
transporter.sendMail(data)

Where the transport parameter as equals node's input field transport and the data parameter equals equals msg.payload. See nodemailer documentation for transporter and date formats.

Node Info

Version: 1.0.0
Updated 2 years, 8 months ago
License: MIT
Rating: not yet rated

Downloads

8 in the last day
71 in the last week
265 in the last month

Nodes

  • mailer

Keywords

  • node-red
  • email
  • nodemailer
  • smtp

Maintainers