Smart Home Automation Forum
Lesson26 - send email notifications by sensor in home assistant - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=1)
+--- Forum: Home automation training courses (https://www.kincony.com/forum/forumdisplay.php?fid=18)
+--- Thread: Lesson26 - send email notifications by sensor in home assistant (/showthread.php?tid=1940)



Lesson26 - send email notifications by sensor in home assistant - admin - 05-24-2022



# Example configuration.yaml entry for Google Mail.
notify:
  - name: "NOTIFIER_NAME"
    platform: smtp
    server: "smtp.gmail.com"
    port: 587
    timeout: 15
    sender: "YOUR_USERNAME@gmail.com"
    encryption: starttls
    username: "YOUR_USERNAME@gmail.com"
    password: "YOUR_PASSWORD"
    recipient:
      - "RECIPIENT_1@example.com"
      - "RECIPIENT_N@example.com"
    sender_name: "SENDER_NAME"