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

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

Serving Software Downloads in 956 Categories, Downloaded 50.472.026 Times

django-email-extras 0.1.8

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

django-email-extras

Report Broken Link
Printer Friendly Version


Product Homepage
Download (38 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
USER REVIEWS
More Reviews or Write Review


DJANGO-EMAIL-EXTRAS RELATED
Network & Internet  -  django-generic-mail 0.2.3
There is no unified way in our Django projects to send email. Django's own email functions require too much boilerplate code and are not intelligent enough. They are also not class based. Sending email should be as easy as creating an...
10.24 KB  
Libraries  -  Mail::RFC822::Address 0.3
Mail::RFC822::Address is a Perl extension for validating email addresses according to RFC822. SYNOPSIS use Mail::RFC822::Address qw(valid validlist); if (valid("pdw@ex-parrot.com")) { print "Thats a valid addressn"; } if...
5.12 KB  
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  
Mailing List Managers  -  django-mailer 0.1.0
django-mailer is asynchronous so in addition to putting mail on the queue you need to periodically tell it to clear the queue and actually send the mail. The latter is done via a command extension. Sample Use Cases
10.24 KB  
Modules  -  Force Secure Admin Pages 1.0
This will force the admin interface to use your secure certificate so that potentially sensitive customer data is encrypted between the web server and your browser.Add the following code to the bottom of /catalog/admin/includes/application_top.php...
 
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  
E-Mail Tools  -  SharpWebMail 0.13b
SharpWebMail is an ASP.NET webmail application that is written in C#. It uses a POP3 or IMAP servers as the mailstore and sends mail through a SMTP server. It is very simple to configure (only a few settings in the web.config file). This...
1.8 MB  
E-Mail Tools  -  AqMail 0.9.1 Beta
AqMail fetches mails from remote mailboxes (POP3), applies admin-defined filters, and stores the email in local mailboxes for POP3 daemons to serve them. AqMail project supports virtual mail domains and users. It has been tested with QMail as...
409.6 KB  
Modules  -  Multiple Email Addresses 5.x-1.x-dev 1.0
Only one email address is considered to be the "primary" email address, and will continue to behave as normal. Non-primary accounts are mostly functionally meaningless, except that during user registration any email address registered to a user...
 
Modules  -  MailQ 5.x-1.x-dev 1.0
MailQ will "queue" the mail to a table, and then during cron runs send emails in batch. The module makes use of other modules like mimemail in order to actually send the e-mail. InstallationUnpack in your modules folder (usually...
 
NEW DOWNLOADS IN LINUX SOFTWARE, NETWORK & INTERNET
Linux Software  -  EasyEDA PCB Designer for Linux 2.0.0
EasyEDA, a great web based EDA(Electronics Design Automation) tool, online PCB tool, online PCB software for electronics engineers, educators, students, makers and enthusiasts. Theres no need to install any software. Just open EasyEDA in any...
34.4 MB  
Linux Software  -  wpCache® WordPress HTTP Cache 1.9
wpCache® is a high-performance, distributed object, caching system application, generic in nature, but intended for use in speeding up dynamic web applications, by decreasing database load time. wpCache® decreases dramatically the page...
3.51 MB  
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  
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  -  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  
Network & Internet  -  SQL Inject Me 0.4.5
SQL Inject Me is a Firefox extension used to test for SQL Injection vulnerabilities. The tool works by submitting your HTML forms and substituting the form value with strings that are representative of an SQL Injection attack.
133.12 KB