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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

django_fluo_emails-0.3-py3-none-any.whl (19.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page