Coder Social home page Coder Social logo

Comments (10)

home-assistant avatar home-assistant commented on July 2, 2024

smtp documentation
smtp source

from core.

mib1185 avatar mib1185 commented on July 2, 2024

Did you change anything lately? update of HA or changes on the mail server itself?

from core.

gt026328 avatar gt026328 commented on July 2, 2024

Did you change anything lately? update of HA or changes on the mail server itself?

no, nothing. The only thing I tryed was to copy the "notify:" section from configuration.yaml to the file notify.yaml.
after this I realized that the service no more longer will work. reconfigured the setting to the old version but no success.

I have a second Instant running with the latest Beta on 2024.6... and ther I see the same Error

from core.

mib1185 avatar mib1185 commented on July 2, 2024

just to ensure, there is no typo in the hostname or ip-address of the smtp server or any change of other parameters in your config? further there were no changes on the smtp server side at all (no updates, no config changes)?
Did this config ever work before?

from core.

mib1185 avatar mib1185 commented on July 2, 2024

please provide the config (don't forget to redact sensitiv data!!!)

from core.

gt026328 avatar gt026328 commented on July 2, 2024

just to ensure, there is no typo in the hostname or ip-address of the smtp server or any change of other parameters in your config? further there were no changes on the smtp server side at all (no updates, no config changes)? Did this config ever work before?

I'm using mail.gmx.net as a smtp server. Do not use IP-Address. And this morning I received a mail from a configured notification. As mentioned on a second Pi5 I have a "Backup or Test System running" and there I get the same Error.

from core.

gt026328 avatar gt026328 commented on July 2, 2024

please provide the config (don't forget to redact sensitiv data!!!)

will provide as soon as I understood how to. A Standart cppy/paste is not working. Are there some other magic key strokes?
O.K. now I got it.

notify:
  - name: "E-Mail versenden "
    platform: smtp
    server: "mail.gmx.net"
    sender: „t*****.*****@gmx.net"
    port: 587
    timeout: 20
    encryption: tls
    user: „t*****.*****@gmx.net"
    password: „***************"
    recipient: 
      - „t*****.*****@gmx.net"
    sender_name: "Home Assistant"

from core.

mib1185 avatar mib1185 commented on July 2, 2024

Try setting encryption: tls to starttls

from core.

gt026328 avatar gt026328 commented on July 2, 2024

from core.

gt026328 avatar gt026328 commented on July 2, 2024

Service back at operation
... strange! I have changed a lot of things last night and this morning, and last action was to add starttls instead of tls.
and since 9:00 this morning it works fine as expected.

from core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.