Prezados, estou tentando acessar meus e-mail via módulo imapclient e estou recebendo o seguinte erro. Conseguem me ajudar a resolver o problema?
Obrigado
Traceback (most recent call last):
File "/Users/leonardojacquier/Documents/TesteImap.py", line 14, in <module>
server = IMAPClient(HOST, use_uid=True, ssl=ssl)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/imapclient/imapclient.py", line 152, in __init__
self._imap = self._create_IMAP4()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/imapclient/imapclient.py", line 166, in _create_IMAP4
return imap4.IMAP4WithTimeout(self.host, self.port, self._timeout)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/imapclient/imap4.py", line 13, in __init__
imaplib.IMAP4.__init__(self, address, port)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/imaplib.py", line 197, in __init__
self.open(host, port)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/imaplib.py", line 294, in open
self.sock = self._create_socket()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/imapclient/imap4.py", line 16, in _create_socket
return socket.create_connection((self.host, self.port), self._timeout)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/socket.py", line 722, in create_connection
raise err
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
TimeoutError: [Errno 60] Operation timed out