Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 1.21 KB

4_Send_CSV_via_Email.md

File metadata and controls

21 lines (14 loc) · 1.21 KB

Quick Reference Guide

Send a daily report (csv-file) via E-Mail

SourceCode can be found here

In chapter Read data from InfluxDB and write its value into a CSV-File a CSV-File was created and stored with variables.
In this step, this CSV-File should be send via a SMTP server to an e-mail adress of a technician for a daily report.

DailyReport1

  1. In oder to use the e-mail nodes needed, you need to install the "node-red-node-email" package from the Palette Manager.
    DailyReport2

  2. Import the attached flow

  3. Select what file should be attached to your email via the "get file" node.
    In my example the CSV-File created before "CSVTest.csv" inside the folder /opt/plcnext/CSV/ will be attached.
    You can change the function node "write email" accordingly to your required text.

  4. The sending mail-address needs to be logged in (via password).
    Set your username and passwort.
    The receiver just needs a mail-address