Since I couldn’t get an email out of OH with either the old unity mail, the vodafonemail, or the gmx settings and you only sent me what I had already tried, I now know: It’s due to the binding .
I received my last email on November 2nd, 2024.
Since then I haven’t received any email from OH.
All changes didn’t work. Since things often get stuck in OH, I have to restart Openhab once a month.
But since shutting down and booting up the Raspberry several times didn’t help and I hadn’t changed any script and the whole thing had been running for more than a year and you didn’t give me any new insights: I simply deleted the binding and re-integrated it.
Now everything is working again.
So you helped me - thank you very much for that.
Openhab is not the most stable system for me (see monthly restarts and every 2 months some bindings that don’t work and have to be removed and integrated or have to be rebuilt by the developer) but openhab is the best system…
If at some point we can get it to run stably and I don’t have to tweak anything about it once a month, that would be great.
Thank you again for your help and have a nice evening.
Set the log level for the mail Binding to trace and post the logs when sending a mail.
Also, please show us, how you send the mail.
I can aldo confirm the mail Binding working over here with t-online and Domain Factory servers.
I removed the binding again, integrated it again, shut down openhab, started it up again, closed Visual Studio and opened it again.
An email was just sent with my test switch.
Let’s see if the next email created by the system will be sent.
Otherwise, I will probably give up the convenience of sending emails and hope that the OH notifications continue to do their job.
And that’s exactly what I meant: Openhab is very unstable for me and I have constant failures. Sometimes a binding here, sometimes a hanging from Openhab there. It costs me a lot of time to keep the system running.
If I don’t have the system available permanently, it unfortunately doesn’t have the benefit that you would hope for from a smart home.
I think we need to analyze your sytem offline, as I cannot confirm instability, even on multiple installations supporting.
Especially the Mail Binding you are mentioning here has never failed for me, so I don‘t see anything to blame openHAB for.
Ahhhh. Thanks.
Then I was wrong!!!
I went to “Administration” → “Settings” → “Things” and then clicked on the “+” at the bottom right. There are the bindings that I also made into a thing…
Then I misunderstood it.
Thanks.
Then I’ll set that up and start looking for where I can find the log data in Openhab.
My expectation ( without checking the code of the binding) would be that even in case of info in case of a mail was successfully send a log entry should be generated.
Moreover if logging is set to trace there should / must be more entries.
If that is not the case check settings for your openhab.log file.
Should be the correct one. Only in case you took actions to create a separate logfile there would be an other logfile. There is a different log file ( event.log ) but this is not used for trace logs.