Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

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.3
Filename, size File type Python version Upload date Hashes
Filename, size django_fluo_emails-0.3-py3-none-any.whl (19.7 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page