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 details)

Uploaded Python 3

File details

Details for the file django_fluo_emails-0.3-py3-none-any.whl.

File metadata

  • Download URL: django_fluo_emails-0.3-py3-none-any.whl
  • Upload date:
  • Size: 19.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.9 CPython/3.6.9

File hashes

Hashes for django_fluo_emails-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d6d4b1fa78fc8e77067a9fef6c4e6feb53107cf6114ee0962425d7e0fe05b065
MD5 073d658a36b10011861ba55d1d60bdd6
BLAKE2b-256 fe40284a9abdc9c517a77bfbc7bdf2f1b2a2c6afe144074c67a648d19394be40

See more details on using hashes here.

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