Easily define respond messages of an email account
- python3
- pyyaml
- xlrd
- openpyxl
- apscheduler
- Edit
config/top.yml
. - Simply run
python3 main.py
orpython3 schedule_main.py
(supposing you've met the prerequisites)
-
If you need to login THU net gate before and/or logout after checking emails using
schedule_main.py
, you need to- edit
scheduler.add_job(job, 'interval', seconds=schedule_interval * 60, args=[config_file, location, False, True])
in
schedule_main.py
. The last 2 arguments inargs
fields denote whether need to login first and logout after checking emails.- edit
config/top.yml
. Replacenet_gate.account
andnet_gate.psw
fields with your login account and password for THU net gate.
-
Theoretically, you don't need to login in order to check mails.tsinghua.edu.cn if you are in THU campus network.