Email.dispatch()
now closes backend connection by default. Thanks @zwack- Compatibility fixes for Django 1.9. Thanks @yprez!
- Fixes migration related packaging issues.
- Fixes deprecation warning in Django 1.8.
- Added multi backend support. Now you can use multiple email backends with
post-office
! - Added multi language support. Thanks @jrief!
- Adds Django 1.8 compatibility.
- Fixes a migration error. Thanks @garry-cairns!
- Support for Django 1.7 migrations. If you're still on Django < 1.7,
South migration files are stored in
south_migrations
directory.
- IMPORTANT: in older versions, passing multiple
recipients
intomail.send()
will create multiple emails, each addressed to one recipient. Starting from1.0.0
, only one email with multiple recipients will be created. - Added
LOG_LEVEL
setting. mail.send()
now supportscc
andbcc
. Thanks Ștefan Daniel Mihăilă (@stefan-mihaila)!- Improvements to
admin
interface; you can now easily requeue multiple emails. Log
model now stores the type of exception caught during sending.send_templated_mail
command is now deprecated.- Added
EMAIL_BACKEND
setting to the new dictionary-styled settings.
send_queued_mail
now accepts an extra--log-level
argument.mail.send()
now accepts an extralog_level
argument.- Drop unused/low cardinality indexes to free up RAM on large tables.
send_queued_mail
now accepts--lockfile
argument.- Lockfile implementation has been modified to use symlink, which is an atomic operation across platforms.
- Added
CONTEXT_FIELD_CLASS
setting to allow other kinds of context field serializers.
- Fixed a bug that causes context to be saved when
render_on_delivery
is False
- Added a new setting
DEFAULT_PRIORITY
to set the default priority for emails. Thanks Maik Hoepfel (@maikhoepfel)! mail.send()
gains arender_on_delivery
argument that may potentially result in significant storage space savings.- Uses a new locking mechanism that can detect zombie PID files.
- Made a few tweaks that makes
post_office
much more efficient on systems with large number of rows (millions).
- Python 3 compatibility fix.
- Added support for sending attachments. Thanks @yprez!
- Added
description
field toEmailTemplate
model to store human readable description of templates. Thanks Michael P. Jung (@bikeshedder)! - Changed
django-jsonfield
dependency tojsonfield
for Python 3 support reasons. - Minor bug fixes.
- Support for Python 3!
- Added mail.send_many() that's much more performant when sending a large number emails
- Added logging
- Added BATCH_SIZE configuration option
- Fixes various multiprocessing bugs
- Email sending can now be parallelized using multiple processes (multiprocessing)
- Email templates are now validated before save
- Fixed a bug where custom headers aren't properly sent
- Added support for sending emails with custom headers (you'll need to run South when upgrading from earlier versions)
- Added support for scheduled email sending
- Backend now properly persist emails with HTML alternatives
- IMPORTANT:
mail.send
now expects recipient email addresses as the first argument. This change is to allow optionalsender
parameter which defaults tosettings.DEFAULT_FROM_EMAIL
- Fixed a bug where all emails sent from
mail.send
have medium priority
- IMPORTANT: added South migration. If you use South and had post-office installed before 0.3.0, you may need to manually resolve migration conflicts
- Allow unicode messages to be displayed in
/admin
- Introduced a new
mail.send
function that provides a nicer API to send emails created
fields now useauto_now_add
last_updated
fields now useauto_now
- Fixed typo in
admin.py
- Allows sending emails via database backed templates
- Errors when opening connection in
Email.dispatch
method are now logged