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

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.1.tar.gz (5.1 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.1-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_dynamic_smtp-0.0.1.tar.gz
  • Upload date:
  • Size: 5.1 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.1.tar.gz
Algorithm Hash digest
SHA256 c8b804c0b052df6021fb11011f32dfd75efafbefd8ca95fcdbe8b075d69e8134
MD5 5c41538a0c6d50349b954186e52d1687
BLAKE2b-256 4afadd22288f46ba18534f58b02462b08c11d5e3afedd5c256c1e1426e2ac473

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_dynamic_smtp-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6911d630c0606e2129593c8ae8e8047ce8ef8c8a19d06d4598388ac252c86636
MD5 af59c049a573205372fa0681c4808b35
BLAKE2b-256 71bbc2f0b352edad007d8340e4df1ef04ddf14d9c2eb5a5c4aad569293526973

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