请问outlook邮箱配置后报错,是否有具体配置说明
请问outlook邮箱配置后报错,是否有具体配置说明
xiaohe wrote:
https://www.vnpy.com/docs/cn/community/info/veighna_trader.html#id20
Traceback (most recent call last):
File "C:\veighna_studio\lib\threading.py", line 1016, in _bootstrap_inner
self.run()
File "C:\veighna_studio\lib\threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "C:\veighna_studio\lib\site-packages\vnpy\trader\engine.py", line 653, in run
with smtplib.SMTP_SSL(
File "C:\veighna_studio\lib\smtplib.py", line 1050, in init
SMTP.init(self, host, port, local_hostname, timeout,
File "C:\veighna_studio\lib\smtplib.py", line 255, in init
(code, msg) = self.connect(host, port)
File "C:\veighna_studio\lib\smtplib.py", line 341, in connect
self.sock = self._get_socket(host, port, self.timeout)
File "C:\veighna_studio\lib\smtplib.py", line 1057, in _get_socket
new_socket = self.context.wrap_socket(new_socket,
File "C:\veighna_studio\lib\ssl.py", line 513, in wrap_socket
return self.sslsocket_class._create(
File "C:\veighna_studio\lib\ssl.py", line 1071, in _create
self.do_handshake()
File "C:\veighna_studio\lib\ssl.py", line 1342, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:997)