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.

Files for django-fluo-emails, version 0.2.3
Filename, size File type Python version Upload date Hashes
Filename, size django_fluo_emails-0.2.3-py3-none-any.whl (18.8 kB) File type Wheel Python version py3 Upload date Hashes View hashes

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