使用Python3获取IMAP的邮件
摘要:使用Python3获取IMAP的邮件 #-*- coding:UTF-8 -*- import imaplib, email def email_header_decode(str): dh = email.header.decode_header(str)[0] if dh[1] == None:
阅读全文
posted @
2021-01-20 00:48
项希盛
阅读(732)
推荐(0) 编辑
使用PHP7来批量更新MangoDB数据
摘要:直接贴代码 <?php set_time_limit(0); $manager = new MongoDB\Driver\Manager('mongodb://localhost:27017'); $namespace = 'test.test'; $aQuery = array('status'
阅读全文
posted @
2021-01-11 04:37
项希盛
阅读(197)
推荐(0) 编辑