/Violet

Violet: A console - based client. You can use Violet to see your mails or send text mail. Violet is so simple that it only has 250 lines.

Primary LanguagePythonThe UnlicenseUnlicense

Violet

I love Violet. And inspired by wendyltan/Violet-Evergarden, I decide to do this Violet project.

If you are interesting in who is Violet. You can click here: Violet Evergarden.

Reference book:Programming Python, 4th Edition

Display

  • First: Violet will get your mailList and show your mail index. Violet1
  • Second: You can use ? to see "helpText". Violet2

Notice

In the Violet, we use Tencent QQ mail. Both pop server and smpt server should use SSL. And the smpt server should login. If you want to use other e-mail services, the code may need to be modified.

Installation

  • First: Change mailInit.ini.
# -*- coding: utf-8 -*-
[DEFAULT]
popServerName=pop.qq.com
popUserName=your-qq-number@qq.com

smtpServerName=smtp.qq.com

sender=your-qq-number
mailPassWd=your_qq_mailbox_apikey

saveMailFile=./mailBox

codingFetch=utf-8
  • Second: Run by $ python3 Violat.py

License

See the LICENSE file for license rights and limitations.