Skip to main content

UNKNOWN

Project description

# Django Firstclass Firstclass is a Django email backend that automatically converts html emails to multi-part emails with a text fallback.

## Install `bash pip install django-firstclass `

Add 'firstclass' to INSTALLED_APPS and set EMAIL_BACKEND to 'firstclass.backends.EmailBackend'.

## Settings ### FIRSTCLASS_EMAIL_BACKEND The email backend to send processed emails to.

Default: 'django.core.mail.backends.smtp.EmailBackend'

### FIRSTCLASS_TEXT_ANCHOR How to format anchors converted to text. All attributes found on the element can be used for formatting.

Default: '%(text)s (%(href)s)'

### FIRSTCLASS_TEXT_IMAGE How to format images converted to text. All attributes found on the element can be used for formatting.

Default: firstclass.settings.image_to_text which is '%(title)s: %(src)s'

Project details


Download files

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

Source Distribution

django-firstclass-0.8.tar.gz (3.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page