摘要:
接收邮件import poplib,pdb,email,re,timefrom email import headerPOP_ADDR = r'pop.126.com'USER = ''PASS = ''CONFIG = ''def getYear(date): rslt = re.search(r'\b2\d{3}\b', date) return int(rslt.group())def getMonth(date): monthMap = {'Jan':1,'Feb':2, 阅读全文