Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.982.732 Times

django-email-extras 0.1.8

Company: Stephen McDonald
Date Added: September 07, 2013  |  Visits: 215

django-email-extras

Report Broken Link
Printer Friendly Version


Product Homepage
Download (16 downloads)

django-email-extras is a Django reusable app providing the ability to send PGP encrypted and multipart emails using the Django templating system. These features can be used together or separately. When configured to send PGP encrypted email, the ability for Admin users to manage PGP keys is also provided.<br /><br />Installation<br /><br />Checkout the source and run python setup.py install. You can then add email_extras to your INSTALLED_APPS.<br /><br />How It Works<br /><br />There are two functions for sending email in the email_extras.utils module:<br /><br /> * send_mail<br /> * send_mail_template<br /><br />The former mimics the signature of django.core.mail.send_mail while the latter provides the ability to send multipart emails using the Django templating system. If configured correctly, both these functions will PGP encrypt emails as described below.<br /><br />Sending PGP encrypted email<br /><br />PGP explanation<br /><br />Using python-gnupg, two models are defined in email_extras.models - Key and Address which represent a PGP key and an email address for a successfully import key. These models exist purely for the sake of importing keys and removing keys for a particular address via the Django Admin. When adding a key, the key is imported into the key ring on the server and the instance of the Key model is not saved. The email address for the key is also extracted and saved as an Address instance. The Address model is then used when sending email to check for an existing key to determine whether an email should be encrypted. When an Address is deleted via the Django Admin, the key is removed from the key ring on the server.<br /><br />Sending multipart email with the Django templating system<br /><br />As mentioned above, the following function is provided in the email_extras.utils module:<br /><br />send_mail_template(subject, template, addr_from, addr_to, fail_silently=False, attachments=None, context=None)<br /><br />The arguments that differ from django.core.mail.send_mail are template and context. The template argument is simply the name of the template to be used for rendering the email contents. A template consists of both a HTML file and a TXT file each responsible for their respective versions of the email and should be stored in the email_extras directory where your templates are stored, therefore if the name contact_form was given for the template argument, the two template files for the email would be:<br /><br />templates/email_extras/contact_form.html templates/email_extras/contact_form.txt<br /><br />The context argument is simply a dictionary that is used to populate the email templates, much like a normal request context would be used for a regular Django template.<br /><br />Configuration<br /><br />There are two settings you can configure in your project's settings module:<br /><br /> * EMAIL_EXTRAS_USE_GNUPG - Boolean that controls whether the PGP encryption features are used. Defaults to True if EMAIL_EXTRAS_GNUPG_HOME is specified, otherwise False.<br /> * EMAIL_EXTRAS_GNUPG_HOME - String representing a custom location for the GNUPG keyring.<br /><br />#md5=bae502b225efa5a3db33fbc51c8ea770

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Ability Address Admin Argument Context Django Djangocoremailsend Mail Email Email Extras Gnupg Home Email Extrasutils Emails Encrypted Instance Models Module Multipart Settings Template Templating
Users rating: 0/10

License: Freeware Size: 10.24 KB
DJANGO-EMAIL-EXTRAS RELATED
Network & Internet  -  django-forms-builder 0.6.0
django-forms-builder is a Django reusable app providing the ability for admin users to create their own forms within the admin interface drawing from a set of fields defined by the developer. Installation Checkout the source...
184.32 KB  
Libraries  -  Chilkat Bounce C++ Library 9.2.1
Chilkat Bounce recognizes a variety of bounced mail messages and can extract the email address from any bounced email.
 
Mail Clients  -  Reach-a-Mail 3.8
Are you spending a lot of time away from your computer? Wish you had access to all your email accounts while traveling? Need to have your letters and address book with you, but don't want to carry a notebook? Reach-a-Mail gives the right answer!...
2.93 MB  
Mail Clients  -  Reach-a-Mail for U3 2.81
Are you spending a lot of time away from your computer? Wish you had access to all your email accounts while traveling? Need to have your letters and address book with you, but don't want to carry a notebook? Reach-a-Mail gives the right answer!...
2.34 MB  
Mail Clients  -  FastTrack Mail Light 8.80
FastTrackMail Lite offers a new, simple and very convenient interface for processing e-mail and it's a powerful email management tool with features to increase your productivity and enhance your communications. The program provides extensive...
1.72 MB  
Email  -  php Mail Notification for Scripts 0.3.0.0
phpMailNotification is small and free PHP script that allow to check multi-email accounts and send notification email toward other email account (SMS Gateway) if you have a new messages.Features:- Support on multi-email accounts.- Allow to...
10 KB  
Modules  -  Sympal Password Hijack 4.7.x-1.0
Hijacks the new password mail, and mails to a configurable mail address instead of to the users mail.In addition a freetextfield for a message to the administrator is added, so that the person requesting the password can include a note.It also...
10 KB  
Backup Utilities  -  Outlook Express Email Address Extractor 1.0
Advance Outlook Express Email Address Extractor Software tool, allows you to quickly backup and extract all email addresses from Outlook Express, ensuring that you never lose an important email address ever again. A handy email address backup and...
1.57 KB  
Home & Leisure  -  TopMail 2.00
TopMail is an email client that lets you send anonymous emails from any email address to any email address. All you need is to be online, you don't need to have an email account. With TopMail you can instantly send out emails that appear to arrive...
286.72 KB  
Utilities  -  DriveHQ Email Manager - Outlook Backup 3.0.74
Drag-n-drop or automatically backup your Outlook emails & address book in real-time or scheduled times; manage / migrate your emails / contacts on multiple PCs and accounts; make your emails and address book available on webmail; business SMTP /...
9.85 MB  
NEW DOWNLOADS IN LINUX SOFTWARE, NETWORK & INTERNET
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Linux Software  -  SLAX 6.0+
Slax is a modern, portable, small and fast Linux operating system with a modular approach and outstanding design. Despite its small size, Slax provides a wide collection of pre-installed software for daily use, including a well organized graphical...
190 KB  
Linux Software  -  GTK+ 2.5
GTK+, which stands for the GIMP Toolkit, is a library for creating graphical user interfaces for the X Window System. It is designed to be small, efficient, and flexible. GTK+ is written in C with a very object-oriented approach. Language bindings...
60 MB  
Network & Internet  -  Free WiFi Hotspot 3.3.1
Free WiFi Hotspot is a super easy solution to turn your laptop or notebook into a portable Wi-Fi hotspot, wirelessly sharing your internet connections like DSL, Cable, Bluetooth, Mobile Broadband Card, Dial-Up, etc. through the built-in wireless...
1.04 MB  
Network & Internet  -  Easy Uploads 1.8
Easy uploads is a file storage media streaming application designed by Filestreamers that allows you to upload, store, and stream your files from their virtually unlimited file storage server. Easy Uploads can backup,share, and stream your files...
615.97 KB  
Network & Internet  -  IPv6 CARE 3.2b
IPv6 CARE, "IPv6 Compliant Automatic Runtime Environment", is a Linux tool able to patch ipv6-agnostic programs on-the-fly ('patch' mode). It can also generate a diagnosis about the IPv6 compliance of an application ('check' mode).
409.6 KB  
Network & Internet  -  PacketFence ZEN 3.1.0
PacketFence is a fully supported, trusted, Free and Open Source network access control (NAC) system. Boosting an impressive feature set including a captive-portal for registration and remediation, centralized wired and wireless management, 802.1X...
1024 MB  
Network & Internet  -  django-dbstorage 1.3
A Django file storage backend for files in the database.
10.24 KB