SMTP setup

  1. I am trying to setup SMTP email. It seems so simple but it’s not working. I literally copied the example configuration and left it without even changing one letter and put it into the configuration. I then restarted. When I go to developer and services and notification, it does not show up on the drop-down list. My original list didn’t show up on the drop-down list either. I added this to the end of the configuration.yaml I didn’t know where else to put it. I guess it doesn’t read it or something. I’m not sure what the deal is but it does not show up on the drop-down under services. What am I doing wrong? # Example configuration.yaml entry notify:
  • name: “NOTIFIER_NAME” platform: smtp sender: “YOUR_SENDER” recipient: “YOUR_RECIPIENT”
  1. [9:39 PM]

when I go to services the drop down doesnt list NOTIFIER_NAME or any thing else I already tried

chances are you likely need TLS

Heres my example using google:

notify:
  - name: email                                                                                                                                                            
        platform: smtp                                                                                                                                                                         
        port: 587                                                                                                                                                              
        encryption: starttls                                                                                                                                                   
        server: smtp.gmail.com                                                                                                                                                 
        username: !secret email                                                                                                                                           
        sender: !secret email                                                                                                                                             
        password: !secret gmail_pass                                                                                                                                            
        sender_name: Home Assistant                                                                                                                                            
        recipient:                                                                                                                                                               
            - !secret email  

Unless you have set up an email server on your system reachable at the default port, then you must supply values for server, port, username, and password so that Home Assistant has a way to send your message.