0
我尝试从Gmail中获取电子邮件:Python和Gmail的
box = poplib.POP3_SSL('pop.gmail.com')
print box.getwelcome()
print box.user(user)
print box.pass_(password)
print box.list()
,但我得到:
+OK Gpop ready for requests from #######
+OK send PASS
+OK Welcome.
('+OK 0 messages (0 bytes)', [], 0)
和我的Gmail不是空的。什么不对? 蟒蛇版本2.7