Skip to main content

Configure email settings in the admin

Project description

Django dynamic SMTP

Configure email configuration in the admin.

Usage

  1. Install with pip install django-dynamic-smtp

  2. Add dynamic_smtp to INSTALLED_APPS:

INSTALLED_APPS = [
    ...,
    "dynamic_smtp",
]
  1. Configure your email backend:
EMAIL_BACKEND = (
    "django.core.mail.backends.console.EmailBackend"
    if DEBUG
    else "dynamic_smtp.email.DynamicSMPTEmailBackend"
)
  1. Migrate: ./manage.py migrate
  2. Access you admin and configure your SMTP settings

Dependencies

This package needs quite a few dependencies, considering its simplicity.

  • Django
  • beautifulsoup4 and lxml: prepare text version of HTML emails
  • django-object-actions: Button for email test
  • django-tinymce: Button for email test
  • django-solo: Use singleton model

Contributing

All contributions are welcome! To setup you environment:

  1. pip install -r dev.requirements.txt
  2. pre-commit install

Project details


Download files

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

Source Distribution

django_dynamic_smtp-0.0.2.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_dynamic_smtp-0.0.2-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file django_dynamic_smtp-0.0.2.tar.gz.

File metadata

  • Download URL: django_dynamic_smtp-0.0.2.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for django_dynamic_smtp-0.0.2.tar.gz
Algorithm Hash digest
SHA256 c080b867d690ac7c8190bf529b152447e5beaf439140fce8a401caed55805b9e
MD5 424b3e0cb43fb08c3cf47867e043982b
BLAKE2b-256 8470c9f1baf4f76aec4bbb3ff42d93cb6352d11e599d71bc6e1074cf46784db3

See more details on using hashes here.

File details

Details for the file django_dynamic_smtp-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for django_dynamic_smtp-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4cb24f7db14f5c2f157a3f8446f1267a7d175d37fe4d0ae2c0d67e14547ab23c
MD5 316b8dde64da8217cddff8f79c2ef5a4
BLAKE2b-256 0c17955779ca8f16001c6c81c38d49dd2ceb337ccf6fb3e23daf50b6cd6ad245

See more details on using hashes here.

Supported by

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