-
-
Notifications
You must be signed in to change notification settings - Fork 28.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SMTP component no more working #114313
Comments
Got the same issue. 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:
|
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. |
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... |
The Umlaut was in the message.
|
Okay, yeah, checked all my Mail Templates but there are no Umlauts used... So really strange. |
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. |
The issue is only happening sometimes (on my end). Im using my iCloud+ Account with Custom-Domain for sending the Mails. |
can you share the host name of the SMTP server you are using, only if it is a public server? |
its not a public one..
|
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. 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 :( |
I think the |
you mean to separate it into another .yaml file? |
No, but use a config entry, it will also allow it to be set up from the ui |
I think I have the same issue. Error setting up platform smtp EDIT: My issue was indeed a time-out connection, because HA was trying to use the wrong interface (multi-homed HA). |
The problem
The SMTP component is no more working since some time. Until a few weeks ago, it worked for years. after restarting home assistant, it may sometimes work, but most of the time I get an error message in the log file (see below). Unfortunately I do not now when exactly the problem began.
I did not do any changes on the mailserver side. It is a simple relay exim mailserver. All other mail clients using that mailserver are working without problems for years, too.
What version of Home Assistant Core has the issue?
2024.3.3
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
SMTP
Link to integration documentation on our website
https://www.home-assistant.io/integrations/smtp/
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: