AMS
  • What's AMS
  • Introduction
    • Features
    • AXView 3.0
      • Installation
    • MaaS
    • Hardware Platform Support List
  • Case Study
    • Automation
    • Environmental Signals
    • Energy Management
  • Snapshot Preview
    • AXView 3.0
    • MaaS
  • Data Processing
    • Source Setting
    • Flow-design
      • Core Nodes
        • Source_in
        • Source_out
    • Native Nodes
      • e-mail
    • Visualization Dashboard
  • FAQ
    • How to install nodes offline with npm-bundle?
    • How to configure the DDNS client on Linux
    • How to access hardware monitoring with dashboard?
    • How to change web service's port?
    • How to export configuration data?
    • How to change MQTT broker's port?
Powered by GitBook
On this page

Was this helpful?

  1. Data Processing
  2. Native Nodes

e-mail

PreviousNative NodesNextVisualization Dashboard

Last updated 5 years ago

Was this helpful?

Sending e-mail with email node - using Gmail as an example

1. turns on the switch in below link:

2. email node setting:

  • To: receiver's e-mail address

  • Server: smtp.gmail.com

  • port: 465

  • check "Use secure connection"

  • Userid: <UserID of gmail>

  • Password: <User Password of gmail>

You can copy the text below and import it to Node-RED for an e-mail sending example:

[{"id":"b36a48a9.8642b8","type":"inject","z":"40cb2345.90320c","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":151,"y":189,"wires":[["bac94df0.aa10f"]]},{"id":"bac94df0.aa10f","type":"function","z":"40cb2345.90320c","name":"","func":"msg.topic = \"this is a mail from node-red\"\nmsg.payload =\"happy new year!!\"\nreturn msg;","outputs":1,"noerr":0,"x":343,"y":220,"wires":[["a0d511d7.798c2"]]},{"id":"a0d511d7.798c2","type":"e-mail","z":"40cb2345.90320c","server":"smtp.gmail.com","port":"465","secure":true,"name":"","dname":"","x":531,"y":263,"wires":[]}]

https://myaccount.google.com/lesssecureapps?pli=1