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

The Django-related reusable app provides the ability to send multipart emails and store them in a database.

Project description

Introduction

django-fs-email-helper is the Django-related reusable app provides the ability to send multipart emails and store them in a database.

The distinctive feature of this app is storing sent emails in database. It means that you have ability to check each sent email from admin interface.

Installation

  1. Install django-fs-email-helper using pip:

    $ pip install django-fs-email-helper
    
  2. Add 'email_helper' to your INSTALLED_APPS setting:

    INSTALLED_APPS = (
        ...
        'email_helper',
        ...
    )
    
  3. Run syncdb or migrate:

    $ ./manage.py syncdb
    
    or
    
    $ ./manage.py migrate
    

Usage

Just import send_email function and use it:

from email_helper import send_email

send_email('from_email@example.com', 'to_email@example.com', 'email_helper/email_template.html', {})

send_email('from_email@example.com', ['to_email_1@example.com', 'to_email_2@example.com'], 'email_helper/email_template.html', {})

Credits

Fogstream

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-fs-email-helper, version 0.3
Filename, size File type Python version Upload date Hashes
Filename, size django_fs_email_helper-0.3-py2-none-any.whl (7.4 kB) File type Wheel Python version 2.7 Upload date Hashes View hashes
Filename, size django-fs-email-helper-0.3.tar.gz (4.9 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