Untitled
unknown
plain_text
3 years ago
1.1 kB
8
Indexable
Traceback (most recent call last):
File "disk_alert.py", line 9, in <module>
send_email(content,sub)
File "/home/hobapp/monitoring/email_message.py", line 16, in send_email
mail_server = smtplib.SMTP('smtp.office365.com',587)
File "/app/software/binaries/python3.7.3/lib/python3.7/smtplib.py", line 251, in __init__
(code, msg) = self.connect(host, port)
File "/app/software/binaries/python3.7.3/lib/python3.7/smtplib.py", line 336, in connect
self.sock = self._get_socket(host, port, self.timeout)
File "/app/software/binaries/python3.7.3/lib/python3.7/smtplib.py", line 307, in _get_socket
self.source_address)
File "/app/software/binaries/python3.7.3/lib/python3.7/socket.py", line 707, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "/app/software/binaries/python3.7.3/lib/python3.7/socket.py", line 748, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not knownEditor is loading...