Commit 0ef28e9c authored by IRON xiang's avatar IRON xiang
Browse files

v1.0.4

parent 7038ad15
......@@ -18,7 +18,7 @@ root_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# 配置163邮箱
server = zmail.server(
username='lcnk_robot001@163.com',
password='WBTS2s5DGedSfLfg', # 授权码
password='ZAZm4E3NGfmajEaf', # 授权码
smtp_host='smtp.163.com',
smtp_port=465,
pop_host='pop.163.com',
......@@ -248,5 +248,5 @@ while True:
# # 保存附件
# print(new_mail)
# last_count = current_count
LOG.info('sleep 60s')
time.sleep(60) # 每分钟检查一次
LOG.info('sleep 900s')
time.sleep(900) # 每5分钟检查一次
[ding]
access_token = 06c67cf821e9371f806140f7d44e38af
access_token = 66f69171d6753fc1b67ef295c32b07bf
import os
root_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
print(root_dir)
\ No newline at end of file
import zmail
server = zmail.server(
username='lcnk_robot001@163.com',
password='WBTS2s5DGedSfLfg', # 授权码
smtp_host='smtp.163.com',
smtp_port=465,
pop_host='pop.163.com',
pop_port=995
)
mails = server.get_mails(sender='lcnk@btiss.cn')
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment