node-red-contrib-sendgrid

0.2.1 • Public • Published

node-red-contrib-sendgrid

Sending e-mail node using SendGrid service

The default e-mail node sometimes encounters a login problem occurred from unusual behavior. For example, Gmail authentication will show an alert when Node-RED runtime is located in a different location from the user's local PC or smartphone. SendGrid node can solve the problem because SendGrid service ensures sending an e-mail.

How to use

(1) Install SendGrid node (node-red-contrib-sendgrid) using manage palette in Node-RED

(2) Get API key from SendGrid website ( https://sendgrid.com/ )

(3) Paste the API key on the property of SendGrid node property

(4) Create flows using SendGrid node flow

SendGrid node specification

Sends the msg.payload as an email, with a subject of msg.topic. The default message recipient can be configured in the node. If it is left blank, it should be set using the msg.to property of the incoming message. you can also specify msg.cc and/or msg.bcc properties. You can set sender of msg.from in the payload. If the payload is a binary buffer then it will be converted to an attachment. The filename should be set using msg.filename. Optionally msg.description can be added for the body text.

Package Sidebar

Install

npm i node-red-contrib-sendgrid

Weekly Downloads

54

Version

0.2.1

License

Apache-2.0

Unpacked Size

73.4 kB

Total Files

11

Last publish

Collaborators

  • zuhito
  • kazuhitoyokoi