Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 792 Bytes

readme.md

File metadata and controls

29 lines (17 loc) · 792 Bytes

TCI Postman

Email sender for the TCI Flask projects.

Installation

  • pip install -e https://github.com/anthropedia/tci-postman.git#egg=tci-postman from within your project's virtual environment.

Note that the project using TCI Postman should be installing the TCI Database private project.

add this to your code:

import tcipostman
tcipostman.init_app(app)

Required configuration

Default configuration is [available in Flask-Mail configuration documentation] ](https://pythonhosted.org/Flask-Mail/#configuring-flask-mail).

In addition to these config, app.config must contain the following keys:

  • TCI_TEST_URL: the absolute URL for passing a test. the pattern {token} will be replaced with the token key.