jicee
Avril 8, 2025, 6:16
1
Bonjour,
Il semblerait que les notification SMTP ne soient plus fonctionnelles
ouvert 06:28PM - 01 Oct 24 UTC
fermé 12:20PM - 06 Oct 24 UTC
integration: smtp
feature-request
### The problem
Out of the Blue the integration stop working with outlook.com
… ### What version of Home Assistant Core has the issue?
core-2024.9.3
### What was the last working version of Home Assistant Core?
core-2024.9.1
### 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
```yaml
notify:
- platform: smtp
name: outlook_email
server: smtp-mail.outlook.com
port: 587
timeout: 15
sender: ...@outlook.com
encryption: starttls
username: ..@outlook.com
password: !secret smtp
recipient:
- ...@outlook.com
sender_name: Home Assistant
debug: true
```
### Anything in the logs that might be useful for us?
```txt
Logger: homeassistant.components.smtp.notify
Bron: components/smtp/notify.py:165
integratie: smtp (documentatie, problemen)
Eerst voorgekomen: 19:53:45 (1 gebeurtenissen)
Laatst gelogd: 19:53:45
Login not possible. Please check your setting and/or your credentials
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/smtp/notify.py", line 165, in connection_is_valid
server = self.connect()
^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/smtp/notify.py", line 158, in connect
mail.login(self.username, self.password)
File "/usr/local/lib/python3.12/smtplib.py", line 750, in login
raise last_exception
File "/usr/local/lib/python3.12/smtplib.py", line 739, in login
(code, resp) = self.auth(
^^^^^^^^^^
File "/usr/local/lib/python3.12/smtplib.py", line 662, in auth
raise SMTPAuthenticationError(code, resp)
smtplib.SMTPAuthenticationError: (535, b'5.7.139 Authentication unsuccessful, basic authentication is disabled. [AS4P189CA0013.EURP189.PROD.OUTLOOK.COM 2024-10-01T17:53:45.897Z 08DCE1D9067A3E4B]')
```
### Additional information
In the log, there is 'Authentication unsuccessful, basic authentication is disabled.' My suspicion is that Microsoft has disabled it.
https://support.microsoft.com/en-us/office/outlook-and-other-apps-are-unable-to-connect-to-outlook-com-when-using-basic-authentication-f4202ebf-89c6-4a8a-bec3-3d60cf7deaef
Quelqu’un utilise ça et si oui comment ?
Merci
Ma configuration
[center]## System Information
version
core-2025.4.1
installation_type
Home Assistant OS
dev
false
hassio
true
docker
true
user
root
virtualenv
false
python_version
3.13.2
os_name
Linux
os_version
6.6.74-haos-raspi
arch
aarch64
timezone
Europe/Paris
config_dir
/config
Home Assistant Cloud
logged_in
false
can_reach_cert_server
ok
can_reach_cloud_auth
ok
can_reach_cloud
ok
Home Assistant Supervisor
host_os
Home Assistant OS 15.1
update_channel
stable
supervisor_version
supervisor-2025.03.4
agent_version
1.7.2
docker_version
28.0.4
disk_total
57.9 GB
disk_used
4.1 GB
healthy
true
supported
true
host_connectivity
true
supervisor_connectivity
true
ntp_synchronized
true
virtualization
board
rpi4-64
supervisor_api
ok
version_api
ok
installed_addons
Samba Backup (5.2.0), File editor (5.8.0)
Dashboards
dashboards
2
resources
0
views
1
mode
storage
Network Configuration
adapters
lo (disabled), end0 (enabled, default, auto), docker0 (disabled), hassio (disabled), veth8016826 (disabled), vethac610ed (disabled), veth8c89a79 (disabled), vethc09dfd3 (disabled), vethf5103f9 (disabled), veth00f00ab (disabled), veth17c44a2 (disabled), veth1b68b3d (disabled)
ipv4_addresses
lo (127.0.0.1/8), end0 (/24), docker0 (172.30.232.1/23), hassio (172.30.32.1/23), veth8016826 (), vethac610ed (), veth8c89a79 (), vethc09dfd3 (), vethf5103f9 (), veth00f00ab (), veth17c44a2 (), veth1b68b3d ()
ipv6_addresses
lo (::1/128), end0 (2a01:cb04:d99:5700:efb3:81aa:af58:acde/64, fe80::194e:f559:2d45:7a26/64), docker0 (fe80::e86e:aaff:fea2:1a63/64), hassio (fe80::dc1c:baff:fea4:298a/64), veth8016826 (fe80::944b:2eff:fe4b:ba7a/64), vethac610ed (fe80::7461:36ff:fe16:a03b/64), veth8c89a79 (fe80::90a2:edff:fe0a:c95b/64), vethc09dfd3 (fe80::2c16:bbff:fe3e:3136/64), vethf5103f9 (fe80::e81d:aeff:fed5:ddbe/64), veth00f00ab (fe80::b0df:2ff:fe64:9c9d/64), veth17c44a2 (fe80::9804:cff:fe55:dc45/64), veth1b68b3d (fe80::1c27:41ff:fe47:cb37/64)
announce_addresses
192.168.0.97, 2a01:cb04:d99:5700:efb3:81aa:af58:acde, fe80::194e:f559:2d45:7a26
Recorder
oldest_recorder_run
22 mars 2025 à 03:56
current_recorder_run
8 avril 2025 à 20:00
estimated_db_size
60.64 MiB
database_engine
sqlite
database_version
3.48.0
[/center]
Comment récupérer ma configuration :
Dans votre HA, Menu latéral `Paramètres` > `Système` > `Corrections` puis les trois petits points en haut a droite > `Informations Système` puis une fois en bas `Copier`
___
jicee
Avril 13, 2025, 8:19
2
Petit up du week-end.
Personne ne reçoit de notification par mail ?
On doit être nombreux à utiliser les notifications sur l’application. Pour le SMTP, ce n’est pas étonnant Microsoft a changé de politique sur le sujet depuis de nombreux mois.