摘要:
def SaveAttachImap():# login the imap server ,retrive the new mails ,and download the attachments. M = imaplib.IMAP4(mail_host,mail_port) #print M M.login(mail_user,mail_pass) M.select('INBOX',False) #result, message = M.select('INBOX',False) typ, data = M.search(None, 'UNSEEN 阅读全文