I’m trying to configure the smtp to send a notification, but when starting I get a timeout error
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/homeassistant/bootstrap.py", line 106, in _setup_component
result = component.setup(hass, config)
File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/notify/__init__.py", line 85, in setup
notify_service = notify_implementation.get_service(hass, p_config)
File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/notify/smtp.py", line 60, in get_service
if mail_service.connection_is_valid():
File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/notify/smtp.py", line 100, in connection_is_valid
server = self.connect()
File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/notify/smtp.py", line 86, in connect
mail = smtplib.SMTP(self._server, self._port, timeout=5)
File "/usr/lib/python3.5/smtplib.py", line 251, in __init__
(code, msg) = self.connect(host, port)
File "/usr/lib/python3.5/smtplib.py", line 337, in connect
(code, msg) = self.getreply()
File "/usr/lib/python3.5/smtplib.py", line 390, in getreply
+ str(e))
smtplib.SMTPServerDisconnected: Connection unexpectedly closed: timed out
Anybody have any ideas?