-
Notifications
You must be signed in to change notification settings - Fork 0
Useful tool for sending signed emails.
License
Gandi24/django-sem
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
================== SignedEmailMessage ================== SignedEmailMessage is a django package modifying the original, built-in EmailMessage by adding a possibility to add signing certificats. INITIAL ACTIONS =============== 1. Include SEM in your settings' installed apps. INSTALLED_APPS = ( ... 'SEM', ... ) 2. Add default charset and your authentication certificate to your settings. DEFAULT_CHARSET = 'utf-8' AUTH_CERT = "media/cert.pem" This is the highest available cert in cery-chain. TYPICAL USAGE ============= from SEM import SEMail msg = SEMail.SignedEmailMessage( subject, message_body, sender, recipient_list, attachments=attachments, from_key=from_key, from_cert=from_cert) msg.send() Where from_key and from_cert are routes to your key and cert: from_key = "media/mail_key.pem" from_cert = "media/mail.pem" REQUIREMENTS ============ Django >= 1.1.1 M2Crypto >= 0.21.1 CONTRIBUTION ============ This package is fully dependent and bases on M2Crpyto.
About
Useful tool for sending signed emails.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published