0
2.7은 imaplib : 내 코드 :파이썬 난은 imaplib를 통해 내 메일 서버에 연결을 시도하고 생성자에 오류가있어 오류
import imaplib
imaplib.IMAP4_SSL('my_host.com', 1234)
오류 :
파이썬은 서버에서 응답을 받았다Traceback (most recent call last)
/home/username/www/site/<ipython console> in <module>()
/usr/lib/python2.7/imaplib.py in __init__(self, host, port, keyfile, certfile)
1163 self.keyfile = keyfile
1164 self.certfile = certfile
-> 1165 IMAP4.__init__(self, host, port)
1166
1167
/usr/lib/python2.7/imaplib.py in __init__(self, host, port)
197 self.state = 'NONAUTH'
198 else:
--> 199 raise self.error(self.welcome)
200
201 typ, dat = self.capability()
error: None
및 그런 다음 오류를 발생 시키지만 정상적인 계속 응답입니다. 서버에서 응답 : 내 서버에서 내 메일을받을하기 위해
+OK my_host.com POP3 MDaemon 12.5.6 ready <[email protected]_host.com>
어떻게해야합니까?