Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Useful tool for sending signed emails.

Project description


SignedEmailMessage is a django package modifying the original, built-in EmailMessage
by adding a possibility to add signing certificats.


1. Include SEM in your settings' installed apps.

2. Add default charset and your authentication certificate to your settings.
AUTH_CERT = "media/cert.pem"

This is the highest available cert in cery-chain.


from SEM import SEMail

msg = SEMail.SignedEmailMessage(
subject, message_body, sender, recipient_list, attachments=attachments,
from_key=from_key, from_cert=from_cert)

Where from_key and from_cert are routes to your key and cert:
from_key = "media/mail_key.pem"
from_cert = "media/mail.pem"


Django >= 1.1.1
M2Crypto >= 0.21.1


This package is fully dependent and bases on M2Crpyto.

Project details

Download files

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

Files for django-sem, version 0.2.2
Filename, size File type Python version Upload date Hashes
Filename, size django-sem-0.2.2.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page