Skip to main content

A Django reusable app providing the ability to send PGP/MIME signed multipart emails.

Project description

Created by Jan Dittberner

Introduction

django-gnupg-mails provides a class gnupg_mails.message.GnuPGMessage that extends Django’s django.core.mail.EmailMessage with the functionality to send PGP/MIME signed emails.

Dependencies

  • gnupg is required for signing the mails

Installation

The easiest way to install django-gnupg-mails is directly from PyPI using pip by running the command below:

$ pip install -U django-gnupg-mails

Otherwise you can download django-gnupg-mails and install it directly from source:

$ python setup.py install

Usage

Define settings.GNUPG_HOMEDIR to point to a GnuPG home directory containing a private key with signing capabilities.

Instead of using Django’s EmailMessage you can just use gnupg_mails.message.GnuPGMessage. The class is a drop-in replacement and can used in the same way as the original class as documented in The Django documentation.

Similar packages

You may want to have a look at django-email-extras by Stephen McDonald for other GnuPG related functionality. Stephen’s package allows sending PGP encrypted mail and provides a nice email test backend.

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-gnupg-mails-0.4.0.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

django_gnupg_mails-0.4.0-py2.py3-none-any.whl (12.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-gnupg-mails-0.4.0.tar.gz.

File metadata

  • Download URL: django-gnupg-mails-0.4.0.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.6

File hashes

Hashes for django-gnupg-mails-0.4.0.tar.gz
Algorithm Hash digest
SHA256 e8ce537d47f34a7f4ce371bd4db64e9e425bec88f5731d2683048a79099b201b
MD5 dfd14a9ba2af1cf714896adeb4337d28
BLAKE2b-256 ae444178951941b4b781b9cc86888dde2b5e3348eeb8021056f61a16989575d4

See more details on using hashes here.

File details

Details for the file django_gnupg_mails-0.4.0-py2.py3-none-any.whl.

File metadata

  • Download URL: django_gnupg_mails-0.4.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 12.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.6

File hashes

Hashes for django_gnupg_mails-0.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 44cf2da13440f8fa4ef742da91ad8f2cb0f237bbcf602af3c4f17a1689f2cd52
MD5 8837999724fb50f977e44d84444de244
BLAKE2b-256 51e05d39d53c3c3881dfd70945b7ad3e9d039c4bf9414a791bd6e76a0c6fdf97

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