Skip to main content

Send emails the easy way

Project description

django-notifiedby

Integrate django-notifiedby as an email backend for Django.

Installation

Using pip:

pip install django-notifiedby

Configuration

Add the django-notifiedby email backend.

# my_project/settings.py

EMAIL_BACKEND = "django-notifiedby.NotifiedByEmailBackend"
NOTIFIEDBY_API_KEY = "YOUR_API_KEY"

API Keys can be purchased from NotifiedBy.com site

Usage

Now the built-in django emails will send through NotifiedBy

from django.core.mail import EmailMessage

email = EmailMessage(
    subject='Subject Here',
    body='Body of the email here',
    from_email='your_email@example.com',
    to=['recipient@example.com'],  # List of recipients
    cc=['cc_recipient@example.com'],  # CC
    bcc=['bcc_recipient@example.com'],  # BCC
)

# Attach a file?
email.attach('example.pdf', b'Some binary data', 'application/pdf')
email.send()

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_notifiedby-0.1.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

django_notifiedby-0.1.1-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file django_notifiedby-0.1.1.tar.gz.

File metadata

  • Download URL: django_notifiedby-0.1.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for django_notifiedby-0.1.1.tar.gz
Algorithm Hash digest
SHA256 db39e0a2a09f15ada1b6c6510205123e3725dbbd5a3bf80a68ec17e0298e7a4d
MD5 5c3e63b30a67cf3cb93c71f07a7d23fa
BLAKE2b-256 e194c2bc2060e6bfd22fb00a49e35161ca2e9be0b116351396125a7bc8be8fd0

See more details on using hashes here.

File details

Details for the file django_notifiedby-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for django_notifiedby-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ee5fae55a819a448d663d84fa8eee3f58006d4cbe70bf09637ec4204526026e3
MD5 742cb71ed0c955a4e1c95bc9926cdbe3
BLAKE2b-256 3eacc8b2a2b3ee85347dcc3694484a5d54faf3fc9516f8075bcbc99623d2580c

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