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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-firstclass-0.8.tar.gz.
File metadata
- Download URL: django-firstclass-0.8.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f30ba732762913a898a94a8d06c02c8ef0919763f7b6a7c62353f091df25bd17
|
|
| MD5 |
022d6d58b91f8891d7f2bccce9133683
|
|
| BLAKE2b-256 |
89d4913a812c6291a862d52af61e170023322ef4fb8771f76b41a23f5101ae14
|