Skip to main content

emails on database

Project description

# django-fluo-emails #

Simple emails template system db-dased and optional email db backend.


## Install ##

### DB Templates ###
Add `emails.apps.EmailsConfig` into your `INSTALLED_APPS`

```
#!python
INSTALLED_APPS = [
...
"emails.apps.EmailsConfig",
...
]
```

### Email backend ###

Set `EMAIL_BACKEND` to `'emails.backend.EmailBackend'`

```
#!python
EMAIL_BACKEND = 'emails.backend.EmailBackend'
```
Now every email is archived on db.


## Usage ##

```
#!python
from emails.models import EmailTemplate

template = EmailTemplate.objects.get(name="myemail")
email = template.send(to=["receiver@example.com"])
```


## CHANGES ##


0.2.0
=====


* drop python2 support
* support for django 1.10

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django_fluo_emails-0.2.3-py3-none-any.whl (18.8 kB) Copy SHA256 hash SHA256 Wheel py3 Mar 27, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page