pyMail
pyMail copied to clipboard
怎么获取收件箱所有的邮件?
你好, 很感谢你提供如此之好的库, 我大概看了下你代码, 发现没有找到收取所有邮件, 你只提供了"未读"的. 能加上这么个功能么?
感谢!
You may add the following functions to pyMail.py
def getAll(self):
return self.search(None,"All")
def getSeen(self):
return self.search(None,"Seen")
def getThisYear(self):
return self.search(None,'(SINCE "01-Jan-2017")')