Comments (14)
the issue is not permanent here, too. sometimes it works after a reboot, sometimes not. sometimes the servic crashes even it was running after some hours.
I recognize the crash becuse i get a message that my automation cannot fint the notify service anymore.
in my case i am using a local exim mailserver (as a relay) without authentification. as already said, thos worked for years without any problems. there is no error log or any other log on the exim side. its just the ha smtp integration crashing :(
from core.
smtp documentation
smtp source
from core.
Got the same issue.
SMTP Integration seems to be very unstable. A config-reload brings the service back to action....
Also i guess if the Network / Internet connection is broken for a while, Notify-SMTP-Integration is lost till HA Configuration is reloaded in Developer-Tools.
My Config:
notify:
- name: "apple_mail_notification_customdomain_tld"
platform: smtp
sender: "[email protected]"
recipient: "[email protected]"
server: "smtp.mail.me.com"
port: 587
timeout: 5
username: "[email protected]"
password: 'blahblah-my-app-specifiy-password'
encryption: "starttls"
sender_name: "HomeAssistant"
verify_ssl: false
debug: true
from core.
I have 2 almost identical "Send Mail" services. Since this week(maybe Core 2024.3.3?) only one of them ist working. I experimented a little and found the reason: The not-working Mail has an "Umlaut" "ö" in the Text. Deleted the "ö": SMTP is working, changed it back: not working.
Maybe that helps a little
from core.
Oh okay, but you mean within the config or within for example the message or subject of the mail which should be sent? Im using a HTML-Formatted Mail content...
from core.
The Umlaut was in the message.
- id: '16338861470'
alias: Mail Garage Offen
description: ''
trigger:- platform: state
entity_id:- binary_sensor.garagentor_input
to: 'on'
from: 'off'
condition: []
action:
- binary_sensor.garagentor_input
- service: notify.garoffen
data:
message: Das Garagentor wurde am {{now().strftime("%d.%m.%y um %H:%M:%S")}}
Uhr geöffnet!
title: Garage auf:{{now().strftime(" %d.%m. - %H:%M:%S")}}
mode: single
- platform: state
from core.
Okay, yeah, checked all my Mail Templates but there are no Umlauts used... So really strange.
from core.
Did a test at my production instance running HA OS. The SMTP notification service just works fine for me. What mail provider are you having issues with? If it is a public provider I could may be do a test. No credentials needed.
from core.
The issue is only happening sometimes (on my end).
So i had the issue twice till now: "Service is not available" after a config-reload the automation worked again... im not sure when this is happening.
Im using my iCloud+ Account with Custom-Domain for sending the Mails.
from core.
can you share the host name of the SMTP server you are using, only if it is a public server?
from core.
its not a public one..
notify:
- name: "apple_mail_notification_customdomain_tld"
platform: smtp
sender: "[email protected]"
recipient: "[email protected]"
server: "smtp.mail.me.com"
port: 587
timeout: 5
username: "[email protected]"
password: 'blahblah-my-app-specifiy-password'
encryption: "starttls"
sender_name: "HomeAssistant"
verify_ssl: false
debug: true
from core.
I think the smtp
integration should be moved to use config flow. This enables to make the entry startup more robust. But the logging is not handled in an optimal way either.
from core.
you mean to separate it into another .yaml file?
from core.
No, but use a config entry, it will also allow it to be set up from the ui
from core.
Related Issues (20)
- Frontier Silicon not connecting to Roberts radio, it has connected before, and can assess host:port via same browser HOT 2
- Integer out of range error when using Postgres as database HOT 1
- Network Storage does not show all files/folders
- qbittorrent unable to start
- Freebox : "Home access is not granted" warning HOT 1
- Localtuya error HOT 2
- ZHA broken after last update for Tuya Zigbee Human Presence Sensor
- Ezviz two cameras in one device HOT 1
- Unable to add integration HOT 10
- daily callendar creation uses hour time check. HOT 1
- Cover toggle OpenGarage cover toggle fails HOT 1
- Goodwe inverter fail to load HOT 1
- Islamic prayer times are not updating daily HOT 10
- Error running job: <Job listen * HassJobType.Callback <function Recorder.async_initialize.<locals>._event_listener HOT 1
- Binary compiled with ESPHome 2024.4.0 will not connect to WiFi. HOT 3
- Goodwe inverter causes incorrect energy dashboard readings HOT 1
- Dishwasher since yesterday not accessable HOT 6
- Linptech Presence Sensor ES1 (Wi-F) - No illumination entity created HOT 3
- Errors with Hue integration HOT 3
- Roborock integration does not translate state of sensors HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core.