aboutsummaryrefslogtreecommitdiff
path: root/bot.py
AgeCommit message (Collapse)AuthorFilesLines
2023-03-09fix(bot.py): fix for range iteration to prevent duplication of last email in ↵Mole Shang1-1/+1
inbox The start value in range() should be inbox_num + 1. Ref: https://github.com/hyfc/telegram-mail-bot/commit/d741c552a7dbe18515955bfc2c173367a03fdbc7#r103400598
2023-01-25chore: fix typoMole Shang1-1/+1
2023-01-25feat: support showing mails listMole Shang1-11/+35
2023-01-25fix(box.py): correct range logic when receiving more than one emailsMole Shang1-2/+2
2023-01-25fix(bot.py): update callback params...Mole Shang1-1/+1
... following the new 20.0 api here: https://github.com/python-telegram-bot/python-telegram-bot/wiki/Extensions-%E2%80%93-JobQueue
2023-01-25feat(bot.py): prompt user to set valid emailMole Shang1-15/+31
2023-01-25refactor: migrate to python-telegram-bot-20 apis...Mole Shang1-32/+28
... and generate requirements.txt for deps.
2023-01-25fix(bot.py): rollback to the origin method to refresh inbox_numMole Shang1-5/+5
2023-01-25refactor: rewrite for IMAP supportMole Shang1-30/+48
- Replaced POP3 with IMAP - #TODO: custom server URL - Polish user prompts
2020-11-10logging stdoutliuguopei1-2/+3
2020-11-10check ownerliuguopei1-0/+16
2020-11-09add Dockerfileliuguopei1-1/+1
2020-11-09update telegram apiliuguopei1-28/+34
2020-10-22bugfixhyfc1-8/+21
2020-10-22add some useful info logshyfc1-2/+5
2020-10-22add logfile, using task queue instead of schedulehyfc1-7/+8
2020-10-22add periodic taskhyfc1-5/+16
2020-10-22coping with large text entitieshyfc1-3/+14
2020-10-22Using pyzmail36 to parse raw mail datahyfc1-16/+2
2020-10-22a first working verisonhyfc1-0/+101
2020-10-22initial commit with some handy email utilitieshyfc1-0/+0